Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

CLIST & REXX :: RE: Invoking CA 7 commands through REXX

$
0
0
Author: kenshin
Posted: Fri Aug 19, 2016 1:38 am (GMT 5.5)

Code:

COMMAND = 'LJOB,JOB='myjobname
RSLT = CAL2X2WA(COMMAND)     
SAY RSLT                     

Pedro, Yes you are right, I deleted the second part .

so my RSLT gives 'SUCCESS' message , does it mean that my code has successfully connected to CA 7 ?

Could you please help me in extracting results of job execution in REXX?

I goggled and found a below code but I don't think that it will solve my purpose.

Code:

DO I = 1 TO CCIMSG.0               
   PULL CCIMSG.I                   
    CCIMSG.I = SUBSTR(CCIMSG.I,2) 
                                   
     SAY CCIMSG.I                 
END


Viewing all articles
Browse latest Browse all 9405

Trending Articles