address CA7 LQ,JOB=XXX* /* <---- a test command that I added */
say 'rc =' rc
x = queued()
say 'queued() =' x
do i = 1 to x
/* Note that the parse function allows for mixed case */
parse pull line
line2 = substr(line,2) /* strip carriage control char */
Upon executing this, there was an error,
3 +++ rslt = cal2x2wa()
IRX0043I Error running CA7REXX, line 3: Routine not found
I tried commenting out rslt = cal2x2wa() part and executed it again, the error was,
9 +++ address CA7 LQ,JOB=XXX*
IRX0037I Error running CA7REXX, line 9: Unexpected "," or ")"
Tried changing the statement from address CA7 LQ,JOB=XXX* to address CA7 LQ, the error in this time was
I logged onto CA7 through ISPF option at our shop and did a split screen mode, & did a TSO ISRDDN and it shows that the CAILIB is allocated to my ISPF profile thing, then on the split screen mode I ran the REXX, but still I get the same error as above
Thanks for your time replying.
I have had some progress with this requirement & I am a little positive that the below code will work and invoke CA7 in batch,
but im running into security issues now,
The error message says that im allowed read access and I specified as "SHR" on the alloc statement,
but still somehow the program is trying for Update access. Is this really a security issue or I coded something incorrectly so that
the program is not taking the SHR parameter. Please let me know. Thanks.