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
3
votes
3 answers

Invoking Rexx from JCL

To invoke a Rexx program and pass parameters, IKJEFT01 can be used // SET PARM1= // SET PARM2= //AUDITDS EXEC PGM=IKJEFT01, // PARM='RXPGM &PARM1 &PARM2' But PARM supports limited number of characters. Is there any way to invoke a REXX using a…
cobp
  • 772
  • 1
  • 5
  • 19
3
votes
1 answer

REXX / z/OS dataset locks

I'm wondering one thing with REXX-language, how it handles data set locks. The situation: - I have sequential data set open in my ISPF-editor - I start REXX-program what updates (makes changes) that data set - it works fine, but how it is possible?…
Timo
  • 31
  • 2
3
votes
1 answer

Change user-id in the ISPF statistics of a PDS member programatically

I am trying to change the user-id value of a module within a PDS. That can be done interactively within ISPF, using menu-option 3.5 (in a non-custome ISPF set-up). I want to do this using a Rexx program instead.
monkey
  • 41
  • 5
3
votes
4 answers

How to pass arguments to REXX program through JCL

Can we pass arguments to a REXX program from JCL? I suppose, JCL PARM can be used as we use for passing arguments to COBOL programs.. Do put your ideas here...
Raja Reddy
  • 772
  • 8
  • 19
  • 37
3
votes
3 answers

Are there any implementation of REXX PARSE written for .NET?

I use regular expressions all the time. However, there are occasions when it would be very helpful to be able to use one of the other pattern matching methodologies, for example, REXX PARSE and SNOBOL. Are there any .NET implementations of either of…
bugmagnet
  • 7,631
  • 8
  • 69
  • 131
3
votes
3 answers

How to debug Rexx code?

I am working on a code parser that is built on Rexx. It is a single file script with around 5000 lines of code or more. I've never worked on Rexx before. Adding to that, the readability issue is making my life even tougher. So, Are there are any…
Vamsi Emani
  • 10,072
  • 9
  • 44
  • 71
2
votes
1 answer

Save job output from SDSF into a PDS and using ISPF functions in REXX

We periodically runs jobs and we need to save the output into a PDS and then parse the output to extract parts of it to save into another member. It needs to be done by issuing a REXX command using the percent sign and the REXX member name as an…
Alan
  • 21
  • 2
2
votes
4 answers

Find nth occurance of character in Rexx

I want to find a nth occurance of character in string in Rexx. Is there any built in function to do this? If no, how can I do this?
Grad
  • 21
  • 2
2
votes
4 answers

Writing rexx output logically to a dataset using EXECIO?

I have this Rexx program which I want to write the output to a particular dataset. However I can't get to print the exact output produced on the terminal to the dataset. /* REXX */ "FREE FI(outdd)" "ALLOC FI(outdd) DA('Z01510.OUTPUT(SAMPLCBL)') SHR…
Fnechz
  • 151
  • 8
2
votes
1 answer

Is there a way to pass an array to an external REXX program?

What I have tried: Program A: call PROGRAMB ARRAY val1 val2 PROGRAM B: PARSE arg ARRAY val1 val2 /* test to see if ARRAY is passed successfully */ /* len1 equals the length of ARRAY */ interpret "len1 = "ARRAY".0" say 'len1: ' len1 DO i=0 TO…
Bitcon
  • 141
  • 1
  • 6
2
votes
1 answer

HTML Table of multiple blank cells

I'm using REXX on a PC to convert a tab delimited table to HTML. The REXX code identifies rows, cells and columns that vary in location from one table to the next but which require rotation, bold highlighting, and either light blue, light gray or no…
Don Hoben
  • 21
  • 4
2
votes
1 answer

Passing parameters from ISPF DSLIST to REXX script automatically

If i have a normal ISPF screen like the one shown below Now, I already have a rexx script that gives me the number of lines in a particular pds (just simply the number of lines, regardless of what's in those lines) Now I want to design a command in…
VivekGhosh
  • 85
  • 1
  • 8
2
votes
1 answer

REXX command to get the dataset list of the data sets on a volume (comparable with 3.4 "P" for Print data set list)

the question is in the title. How can I get the list of the data sets on the volume with an REXX command, so I can work with this list. Thanks for help! Marc
Marc
  • 33
  • 3
2
votes
4 answers

How can I run my Rexx program as a batch job?

I have a Rexx program that I want to run as a batch job. How can I do this? This is my program :- /* Rexx – HELLO – Write Hello World */ Say "hello World" The program is located as member HELLO in the PDS ME.USER.EXEC. A valid JOB CARD for my…
MikeT
  • 51,415
  • 16
  • 49
  • 68
2
votes
1 answer

How to use parameters in JCL

I try to submit job, and all is good, when i hard coding. But I want to use params. //REPORTS EXEC PGM=IKJEFT01,**PARM='SDSFINFO FTPSRV01 * hiqual'** //SYSEXEC DD DSN=rexx.is.here,DISP=(SHR,PASS) //SYSTSPRT DD SYSOUT=A,HOLD=YES…
1
2
3
11 12