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

call wget() from rexx - how to get RC?

I need to call "wget" or "curl" from rexx. And I need to get return code, as I can do it I call the routine from Bash and use "$?". How is it done ? I am using Guindous and C:\>rexx -v Open Object Rexx Version 4.1.3 Build date: Jul 4…
Sebastia.Net
  • 129
  • 2
  • 14
0
votes
0 answers

Rexx Script (ssh automatically connection)

Hey dear Stackoverflow Community, I'm looking for a simple rexx script to import the IP addresses from a text-data and paste these into the ssh credentials. The first code below (for importing the first line) works fine: /* read"test.txt". */ line =…
0
votes
1 answer

Rexx Pull is not working with clrscrn after Displaying ispf Panel

Currently i am writing a rexx program in which i need to mask password input. I use this code to get my panel displayed: address ispexec"libdef ispplib dataset id('my.pds') address ispexec 'display panel(member)' This works perfectly, and returns…
jelch
  • 21
  • 4
0
votes
1 answer

Not able to write more than 8 characters in file via PUSH command in REXX

I am writing a code in which if I find 10th character of a line as "C" then I am removing C from there and appending it to next line in ps file. All records in file have 8 characters except one record(could be any record). Below is my input file in…
bp89
  • 91
  • 1
  • 13
0
votes
3 answers

Invalid length error while passing parameters to ispf macro from rexx code

I have written a macro to change a string all members of PDS. I am passing PDS, existing value and new value via JCL. I am getting invalid length error while passing arguments to ispf macro using rexx. Error is : ISPS108 Invalid length …
bp89
  • 91
  • 1
  • 13
0
votes
2 answers

SHA256 in mainframe. Is function exist in REXX?

I investigated a problem to encrypt string unsing rexx (mainframe ZOS). I found some useful links: http://rexxeec.sourceforge.net/doc/RexxEEC.pdf But when I tried to use it in TSO, I got an error: **16 +++ hash = eecsha( str )** My…
0
votes
0 answers

Having trouble writing output of a rexx program running from a batch file to an output file

for /f "tokens=1-4 delims=/-\ " %%a in ('date /t') do ( SET mjour=%%a SET mmois=%%b SET mannee=%%c ) SET date=%mjour%%mmois%%mannee% echo 'hello' > "D:\db2support\dbauditarchive%date%.log" 2>&1 D:\DB2_V9\IBM\SQLLIB\BIN\db2cmd.exe "rexx…
0
votes
1 answer

How do I display a table to an ISPF panel with Rexx then retrieve back updated user input?

I have a piece of Rexx that uses data from a PDS member to put together and display a table of fields along with default values. The values field is an input field, designed to allow the user to update the defaults with their own choices as…
Chris M
  • 1
  • 1
  • 1
0
votes
2 answers

remove duplicates in a table (rexx language)

I have a question about removing duplicates in a table (rexx language), I am on netphantom applications that are using the rexx language. I need a sample on how to remove the duplicates in a table. I do have a thoughts on how to do it though, like…
lye yan nian
  • 143
  • 2
  • 12
0
votes
1 answer

CMD, REXX, need a way to detect an error

I'm very very new to programming/coding. And I have a very specific question, which I didn't find any answers to. This command below executes perfectly fine if the command is valid. If I enter an invalid command, an error occurs and the cmd…
Citro
  • 3
  • 1
0
votes
4 answers

Daily a number of jobs run in mainframe, i need to fetch their start and end time by some other jcl or rexx automatically, is it possible?

Daily a number of jobs run in mainframe, i need to fetch their start and end time by some other jcl or rexx automatically, is it possible ?
Deb
  • 9
  • 1
  • 2
0
votes
2 answers

literal string operation in rexx

Hello Everyone I am new to rexx. can you please help me out with this string concatenation. I have a string My Name is Raiza. and I need to add a single quote before and after Raiza . But I cant get it . "My Name is " " 'Raiza' " how should I do…
Parinita
  • 87
  • 2
  • 13
0
votes
2 answers

Trying to bypass an error when trying to execute a REXX or TSO command in batch enviroenment

What I'm trying to do is executing a TSO command from within a COBOL program executing in Batch environment; what I do first is to create a TSO environment calling IKJTSOEV; after successful completion (RETURN CODE=0) I use TSOLNK routine to execute…
0
votes
1 answer

Rexx to split a file based on date column

I want to Split my Input file based on Date Column, My input file will have multiple dates. I want to split the file based on No of dates in input. Like I have 5 different dates in input file then I should get 5 output files. The output file names…
KL_gun
  • 1
  • 2
0
votes
1 answer

SDSF ST via REXX

I've got an interesting idea. I want to see JCL in SDSF via REXX. Currently I can see necessary job names, using: Address SDSF "ISFEXEC ST" Maybe anybody has some idea of what to add to my script to make analog of: command s And totally get the…