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

Where can I find emacs major modes for Rexx or z/Assembler?

I'm in the process of moving a lot of my editing to emacs (currently 23.3.1). I'm looking for (two separate) major modes for emacs that will handle Rexx and z/Assembler, preferably including syntax highlighting, code and structure completion, and…
Brent.Longborough
  • 9,567
  • 10
  • 42
  • 62
2
votes
1 answer

Connect between PID and port on ZOS

My question relates to ZOS 2.1 and 1.13, I am looking for a command in ZOS like netstat -ano in Windows. I have a port number of TCP Connection and I want to know the PID that connects to it. I know a system MVS command for users and TCP: /d…
Nessi
  • 51
  • 1
2
votes
1 answer

What is ! and : used for in REXX

What does the ! and : do in REXX. For instance in this piece of code !all:!!=!;!=space(!);upper !;call !fid;!nt=right(!var('OS'),2)=='NT';!cls=word('CLS VMFCLEAR CLRSCREEN',1+!cms+!tso*2);if arg(1)\==1 then return 0;if wordpos(!,'? ?SAMPLES ?AUTHOR…
Michael
  • 185
  • 1
  • 10
2
votes
2 answers

REXX/SORT split sequential file

I need to split a sequential Mainframe file. Well, to be precise I need to copy the content from this file to another, starting from a specific keyword. Example: line1 line2 line3 start line4 line5 line6 In this case I need to search for "start"…
Horbz
  • 23
  • 4
2
votes
1 answer

Abend Causing Line

Is there any way that we can find the exact line number that causes an abend ( like SO4C) from the Offset(like offset +00007D0A at address 1515CD0A) given in the spool with the error message.?
Ludwig
  • 782
  • 1
  • 8
  • 24
2
votes
2 answers

REXX - Parse from CSV File

I'm having trouble parsing a CSV from a text file and was wondering if you guys could assist me. So far I have the following, The CSV file (DATA.txt) looks something like this, it will always have 15 fields all separated by a comma. Not all fields…
2
votes
1 answer

Rexx - Parse a CSV line (';' separator)

I know that we can parse a CSV line ( ';' separator ) with something like that : delim = ';' myline="i;want;to;know;what;love;is" parse var myline w1 (delim) w2 (delim) w3 (delim) w4 (delim) w5 (delim) w6 (delim) w7 say w1 w2 w3 w4 w5 w6 w7 I want…
user1117862
  • 121
  • 3
  • 9
2
votes
2 answers

How do you invoke dialog panel command in z/OS?

The official guide says to use the CMD(your_statement) function, but I keep getting an unrecognized keyword error. I am attempting to customize the ISPF primary option menu and I need to edit the panel so that when you press 'R' it runs a Rexx exec.…
user1588869
  • 641
  • 1
  • 6
  • 8
1
vote
1 answer

FSUM7332 - expecting new line when using bpxwunix under z/OS

sftp 1216: FSUM7332 syntax error: got ), expecting Newline I've created a 'batch' file for sftp in REXX and have used the address syscall writefile to write out the data to the file. the sftp is invoked using bpxwunix thus: sftp -b batchfile…
Lionel B Dyck
  • 552
  • 2
  • 9
1
vote
0 answers

Detecting a change on a webpage under Gateway z/OS?

When developing a web application under Gateway z/OS I have been using two different techniques to detect when the user enters, or changes, data on the webpage. I have a hidden variable for the fields so that I can compare the displayed field value…
Lionel B Dyck
  • 552
  • 2
  • 9
1
vote
1 answer

Is it possible to initialize a REXX environment in an IMS BMP region using IRXINIT?

When a COBOL program runs in a TSO/E address space, it can call IRXINIT with the FINDENVB parameter to get a REXX environment block and then call IRXEXEC with that block to invoke REXX programs. This works without issues. But when a COBOL program…
1
vote
1 answer

Remove audit trail from a RLIST command issued via ADDRESS TSO

I'm trying to write a script that would query specific resource profiles in a RACF class and later do a bit of logic to match a few things - not relevant. The problem is that when I issue the command below I get the AUDIT TRAIL on the terminal. The…
Jarek Brocki
  • 129
  • 1
  • 9
1
vote
3 answers

Using Rexx to find members in a PDS matching a given string

I am looking for help with my REXX script. Which should open an existing Member and search for a specific string. Here is my script: /* REXX */ "ALLOC FILE(input) DA('.....(MEMBER)') SHR REUSE" "EXECIO * DISKR "input" (STEM input. FINIS" …
user16332592
1
vote
2 answers

Anyone know of Milsted rexx for windows? Open-rexx?

CA's automation point product has an embedded rexx interpreter. I've used other Rexx interpreters before back to the original on CMS. I'm trying to access the external data queue to allow the AP rexx scripts to invoke and get data back from…
Wudang
  • 553
  • 3
  • 17
1
vote
2 answers

Executing mainframe REXXes in RDz 8.0.1 under Windows XP

We're running IBM's Rational Developer for zOS (RDz) in a Windows XP Professional environment. Great product, but not being able to run REXXes is a big hindrance. Searches using Bing and searchdotnet.com have not yielded any meaningful…
Fred
  • 11
  • 2
1 2
3
11 12