Thanks again. Tried without the embedded quotes but the error persists.
Having read some manuals, got to know about &STR function and used like below:
SET JOB1 = &STR(&JC1)
SET JOB2 = &STR(&JC2)
This seems to have fixed the error and my CLIST progresses.
Now figuring out to pass the JOB1, JOB2 ...
Search found 3 matches
- Tue Aug 30, 2022 7:17 pm
- Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
- Topic: How to receive job card statements from ISPF panel to CLIST
- Replies: 4
- Views: 15557
- Tue Aug 30, 2022 2:19 pm
- Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
- Topic: How to receive job card statements from ISPF panel to CLIST
- Replies: 4
- Views: 15557
Re: How to receive job card statements from ISPF panel to CLIST
Thanks for the response, Robert.
I tried adding double quotes around the CLIST values like below, it seems to accept the quotes however still throws the same error.
SET JOB1 = "&JC1"
SET JOB2 = "&JC2"
SET JOB1 = "//HUZ06D4L JOB AT99740,'SUPERC',CLASS=A,"
THIS STATEMENT HAS AN EXPRESSION WITH ...
I tried adding double quotes around the CLIST values like below, it seems to accept the quotes however still throws the same error.
SET JOB1 = "&JC1"
SET JOB2 = "&JC2"
SET JOB1 = "//HUZ06D4L JOB AT99740,'SUPERC',CLASS=A,"
THIS STATEMENT HAS AN EXPRESSION WITH ...
- Fri Aug 26, 2022 7:39 pm
- Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
- Topic: How to receive job card statements from ISPF panel to CLIST
- Replies: 4
- Views: 15557
How to receive job card statements from ISPF panel to CLIST
Hello,
I am looking at sending the JOB statements from my ISPF panel to CLIST into a variable. And then I use the variables in rexx to generate a final job. But the CLIST SET = parameter does not seem to accept the long line with symbols. What is the best way to do this please?
ISPF dialog panel ...
I am looking at sending the JOB statements from my ISPF panel to CLIST into a variable. And then I use the variables in rexx to generate a final job. But the CLIST SET = parameter does not seem to accept the long line with symbols. What is the best way to do this please?
ISPF dialog panel ...