I have a dataset created with an unload from a DB2 table that I am working with. I am changing a SystemID number to the LPAR letter representation and doing some other formatting within the rexx exec.
Using Rexx how could I remove any entries that are not from the date that is 2 days less...
Is CONTROL a clist or Rexx exec you have that is written in-house? When I tried rexxhead's suggestion I get the message - Command CONTROL not found RC(-3)
I have developed a Rexx exec that first edits and member of a PDS, then calls a program and finally browses a Sequential Dataset containing the desired output.
. . .
"ISPEXEC EDIT DATASET('USERID.SQL.IN("||SQLNAM||")')"
. . .
"CALL 'IDMSR.TEST.LOAD(IDMSBCF)'"
"ISPEXEC BROWSE...
I have the JCL mechanics Marc mentions already in place. I was hoping to include the actual Return Code with the message. I use IF/THEN syntax to check RC < 5 and send thumbs up message ELSE send an alert message. I also include a step with COND=ONLY to send an alert message in cases where...
We recently obtained pagers that allow staff to be
e-mailed text messages. I use this technology coupled with z/OS mainframes in our Batch Environment. Important Batch Jobs include steps that page software technicians when certain return codes are encountered. I would like to include other...
We calculate disk space as 48K per track or 720K per cylinder. We have Mod9 DASD that hold 150,255 tracks or 7.21224 Gigabytes. Using hardware compression you may be able to squeeze around 21 Gig onto one disk drive.
I call the following after allocating Sortin and Sortout:
SORTER:
"ALLOCATE DA('Userid.PGSORT') F(SYSIN) SHR REU"
"CALL 'SYS1.SORTLIB(IERRCO00)'"
return
You will have to call your shop's sort pgm.
As it turns out the problem was related to the fact that the ID I was attempting to use was not a valid TSO ID. It is a valid RACF ID, but is not ever used to logon. I changed my tack and got the desired results. Thanks for the help.
Mainframe Environment - z/OS R1.2
I have coded a Rexx exec to run as the last step of a batch job. This exec checks to see if the previous step wrote anything to the SYSMDUMP dataset. If it has been written to it is copied to a cartridge GDG for retention.
When I test this exec in a batch job...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.