Questions tagged [rexx]

REXX is a (most of the time) interpreted programming language developed by IBM in the end of 70's and beginning of 80's.

REXX is a weakly typed interpreted language - although there are some compilers for it, both for native code and bytecodes. It is mainly used as a glue, script and macro language. There are implementations for most platforms, including some popular portable free software implementations. Also, REXX is the primary scripting language of some platforms, such as VMS, OS/2 and AmigaOS.

It was developed as a personal project by Mike Cowlishaw between 1979 and 1982. Once presented to the public, it was shipped as a product by IBM in 1982. Since then, it is shipped with almost all IBM operating systems.

The language presents various similitudes with , and . Although there is an ANSI specification for the language, there are some popular variants today, such as NetREXX (which is based in the Java platform) and OOREXX, which provides object-oriented syntax and semantics to the language.

As far as a comparison by efficiency, a pretty in depth study from Universit ̈at Karlsruhe can be found here comparing it to , , , and .

Among the modern implementations, some of the most popular are the open source Regina interpreter, OOREXX and NetREXX.

168 questions
0
votes
1 answer

Multiple socket connections in REXX

Help me with my questions. I have an client code PARSE ARG NSTR SERVER = ipaddress SERVER_INFO = 'AF_INET 7500 ' !! SERVER STR = SOCKET('INITIALIZE',TIME('S')) …
mr.ANDREW
  • 51
  • 1
  • 7
0
votes
2 answers

Referring to Dataset Allocated in REXX

We have a REXX program which creates a dataset LOG.DYYMMDD.THHMMSS.OUT saves in DDNAME LOGNM. We call the REXX PROGRAM from JCL using IKJEFT1B utility. How do I use this dataset for further processing in JCL. I mean how I refer it in the JCL…
Hara Chaitanya
  • 928
  • 3
  • 9
  • 17
0
votes
4 answers

Rexx, Parse a file for a single line

I'm trying to find a way to parse a file in Rexx. Each line has two words and an IP address. Example Location Name 10.0.0.1 I have looked over a lot of documentation and i can get it to print all the lines in the file but i cannot figure out how to…
0
votes
2 answers

Access a VSAM File from Rexx

How can I read a VSAM File in REXX ? Is there any tools available that will help me read and update a VSAM file through REXX. Right now I repro the file to a flat file and do the updates and then repro the file back to VSAM. The problem is that this…
rockon1
  • 77
  • 1
  • 9
0
votes
2 answers

REXX /CLIST PANEL- finding code location

Is there any way to find quickly the program behind a rexx/clist panel. I know that i have check one by one all the panle librairies to find the panel. But it takes lot of time. Thanks
user2054151
  • 7
  • 1
  • 12
0
votes
0 answers

REXX tool to find table used by cobol code

Its Db2.I normally use srchfor text to search which all codes uses table A. and manully read the code to find the table queries done on it.I want to automates it .Is there a way? Can rexx utility tool be made on the same.
coolpinky
  • 19
  • 1
  • 4
0
votes
2 answers

How to run a rexx using windows batch script (.bat file )

I have batch file which is being used to FTP from desktop to mainframe. After getting the file by FTP, I run a rexx module to do some activities. Now I want to run the rexx module automatically after the FTP step from bat file. Also from the batch…
0
votes
1 answer

Dealing with PULL in REXX

I am new to REXX and am stuck with the following issue: I am writing a simplified panel that reads in a user id as well as a dataset name, and validates the latter. /* REXX */ …
PacSan
  • 57
  • 2
  • 6
0
votes
1 answer

line_before does not work in blank PS file

I am able to use below code to insert a new line before first line.. Address "ISREDIT" VAR = 'TEST DATA' "LINE_BEFORE .ZFIRST = (VAR)" But this doesn't insert line when there is no line in the PDS.. Is there a command to insert line in blank PS…
Samuel Mathews
  • 171
  • 1
  • 2
  • 17
0
votes
3 answers

Get other than error level from exe

Is it possible to get a return value other than error level from .net exe? The exe is to be called from a script, batch or rexx. If not, can you invoke a method in an assembly from batch or rexx and retrieve a return value?
magnus
  • 633
  • 6
  • 12
0
votes
3 answers

How to list out a GDG base properties through REXX

How to know GDG base properties through REXX code; Of course we can view the GDG limit thru File-aid 3.2 option But need to list the properties on the fly and may be used in consecutive program/module. Hope made you clear and waiting for…
Raja Reddy
  • 772
  • 8
  • 19
  • 37
0
votes
1 answer

rexx reading file data onto panel

can you please suggest me the manual or example codes on how i can read the content of a file to be displayed in a rexx panel. the number of lines from the file can vary and so cannot use the static manner. thanks, Samuel Mathews.
Samuel Mathews
  • 171
  • 1
  • 2
  • 17
0
votes
1 answer

REXX code used in SORT parm of JCL

I have a sort parm in a JCL that is created using some REXX code as follows: /* REXX */ 'EXECIO * DISKR ZEROGDT (STEM ZGD.' S21=' ' …
PSA
  • 53
  • 1
  • 3
  • 13
0
votes
2 answers

How to parse variable in REXX/Regina

When writing a macro, I have a variable, {$#2}, that either starts with a 1 or 2 digit number followed by a ".", or it doesn't. When it starts in that way, I want to put the number into a rexxvar, which I have called C. I have tried #if […
Ian
  • 1,941
  • 2
  • 20
  • 35
0
votes
1 answer

Read Only DB2 use members from the PDS(Dataset) in REXX and stored in Stem variable for processs the each other

My requrirement is all about find DML operations separately like (select,Insert,update and Delete) of table in members of PDS .The PDS dataset have nearly 19150 module out of that only 6850 module use DB2 statement and remaining belongs to either…
user1776796
  • 29
  • 1
  • 1
  • 2