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

How to compare string from previous record to string from current record with REXX in MVS?

INPUT: MEMBER:XPTO1 STEPALT2 MEMBER:XPTO2 MEMBER:XPTO3 STEPALT3STEPALT VERIFY VERIFY2 MEMBER:XPTO4 VERIFY1 VERIFY02A01STEP OUTPUT: MEMBER:XPTO1 STEPS:STEPALT2 MEMBER:XPTO3 STEPS:STEPALT3 STEPALT VERIFY VERIFY2 MEMBER:XPTO4 STEPS:VERIFY1 …
csbl
  • 265
  • 1
  • 6
  • 19
0
votes
1 answer

How te read the size of a pds member using lminit,lmmfind..?

I want to read size of members of a pds For example:- my pds name is - my.pds.cics If i browse this pds I will find details like below: name prompt size created .............. ____PDS1 0051e 25/03/2016 ____PDS2 …
uz_support
  • 57
  • 2
  • 6
0
votes
4 answers

Read the size of the member of the pds

How to read the size of the member of a pds file. A pds file has many members. If we browse a pds we can see the member names, their creation date, time user, size, etc. So how to get these attributes separately in variables.
Maxcc0
  • 49
  • 1
  • 2
  • 11
0
votes
1 answer

Rexx: increment current time value

Hi I'm running REXX script on ZOC terminal and i want to display current time and ETA like this: start time 22:44:24 end time 22:56:24 but I don't know how to increment current time ??? maybe to convert time to seconds then increment it and then…
NeoNe
  • 1,429
  • 1
  • 11
  • 12
0
votes
2 answers

Rexx questions and an odd Error in REXX

I created a rexx program to read in a file from an argument and line by line add it to an array from there i have added some pulls do define a search criteria and then search the array, from their i wanted it to dynamically add a new member to a pds…
0
votes
1 answer

Panel doesn't execute )PNTS Section

I'm coding a ISPF Panel with "Point and shoot" elements. The elements say "yes" and "no" and the default cursor have to point to "yes". 1st Case: Declaration of the fields: + TYPE(INPUT) PAS(ON) When I use this declaration, the panel closes by…
user4107024
0
votes
3 answers

How can I copy load module using rexx?

I want to copy a load module from one pds to another using REXX.
monkey
  • 41
  • 5
0
votes
1 answer

my css form boxes run over the header when you scroll up :/

I have a complicated project with some Rex code... I'm modifying my form element and everything works but the checkboxes overlay the header when you scroll down the page... I can't load a picture but here is a link in case you want a looks…
itemmaster
  • 75
  • 5
0
votes
2 answers

How to pass values from rexx to jcl

i've jcl which accepts date and pass value to rexx to get next date and previous date. and then jcl prints that next and previous dates. please tell how to take value back from rexx to jcl and use that values in jcl
Nithanth
  • 1
  • 2
0
votes
0 answers

How to copy stem value to simple variable in REXX

I'm trying to copy the value of LINE.I to variable THIS_IS_A_COMMENT2 so I can use it my JCL. The JCLs are properly generated and executed, but the line QUEUE "//* THIS IS A COMMENT2 : " THIS_IS_A_COMMENT2 is completely ignored. The SAY "VALUE OF…
user3489502
  • 3,451
  • 9
  • 38
  • 66
0
votes
1 answer

Is there a way in REXX to pick the latest dataset in a group?

Is there a way in REXX to pick the latest dataset in a group? Instead of GDG, some of our datasets have identical first 5 nodes then a date and time node to make unique. Looking for a way to automatically pick the latest dataset (equivalent to GDG…
0
votes
2 answers

How to print dataset content using Rexx

I'm trying to print the data (line by line) found in the IO.ME.DATA dataset (see my jcl). I get the following error and looking to get the syntax right: 10 +++ DO I = 1 TO SYSTSIN.0 Error running MYREXX, line 10: Bad arithmetic conversion I'm new…
user3489502
  • 3,451
  • 9
  • 38
  • 66
0
votes
2 answers

Can't figure out data type of character in REXX

I am trying to figure out the data type of a specific character using REXX. Basically I am reading a report and then going through each line. In each line there is one character that gets treated differently by all of the other ones, and I can't…
David Mordigal
  • 399
  • 3
  • 19
0
votes
1 answer

How do I implement multiple conditions in REXX?

I'm trying to put together some REXX code to achieve the following. Check given input(0007145547162165876, 0002734752467588968, 555729879318548867, 5559871342286434816)for a given condition (first 3 characters are 000). If so, perform some…
Walter
  • 43
  • 1
  • 2
  • 6
0
votes
2 answers

Comparing two programs versions to base

How can one compare two programs in COBOL? If one wants to know all the changes that a new program has from the old one and does not want to use the ISPF 3.13 SuperCE utility. Practical scenario: I have two programs which use the same base code and…
Dipanshu
  • 17
  • 2