View previous topic :: View next topic
|
Author |
Message |
luis_pr
New User
Joined: 13 Oct 2007 Posts: 19 Location: Fort Worth, Tx USA
|
|
|
|
I set up an EVENT to be triggered when one of several files are cataloged.
The EVENT submits a job that flushes with a JCL error: UNIDENTIFIABLE CHARACTER % ON THE DD STATEMENT.
The JCL that gets submitted does not replace ESP's symbolic variable ESPTRDSN with the name of the file that triggered the EVENT.
The JCL statement causing the error looks like so:
//SORTIN DD DSN=%ESPTRDSN,
// DISP=SHR
When ESP submits the job with the DD Statement shown above, the ESPTRDSN Variable is not replaced by the name of the dataset that triggered the event.
I am using Version 5.5 in z/OS 1.13.
TIA, Luis |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Has some other jcl like this worked or is this the first attempt?
If this is the first attempt, there may be a configuration issue.
Suggest you open an issue with CA Support. |
|
Back to top |
|
|
luis_pr
New User
Joined: 13 Oct 2007 Posts: 19 Location: Fort Worth, Tx USA
|
|
|
|
That is an unknown. It may be the first attempt. I have touched base with other ESP Users but so far, have not located anyone else who has tried coding symbolic variables in the JCL that ESP will submit.
Thanks, will suggest contacting CA Support. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
why not start from the manuals ? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
if you are expecting JES to convert ESPTRDSN
ESPTRDSN has to be in a system table available for the conversion.
is the char % or &? |
|
Back to top |
|
|
luis_pr
New User
Joined: 13 Oct 2007 Posts: 19 Location: Fort Worth, Tx USA
|
|
|
|
Already looked at the User Manual and Advanced User Manual.
No, I expect ESP to convert, not JES. The char is a percent sign, %. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
why not look at a <snippet> where an ESP variable is substituted an proceed in the same way ?
( updating/defining the proper ESP infrastructure ) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Yes, ESP should deal with the job on the way into the system and when JES sees this, the % variables would already be resolved.
Are you sure ESPTRDSN is spelled the same everywhere it is mentioned? What value should be substituted? |
|
Back to top |
|
|
luis_pr
New User
Joined: 13 Oct 2007 Posts: 19 Location: Fort Worth, Tx USA
|
|
|
|
When you activate an Event-level data-set trigger, %ESPTRDSN is set to the fullyqualified name of the data set specified when the trigger was defined. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
Are you sure ESPTRDSN is spelled the same everywhere |
|
|
Back to top |
|
|
luis_pr
New User
Joined: 13 Oct 2007 Posts: 19 Location: Fort Worth, Tx USA
|
|
|
|
Yup.
I just managed to get it to work. The Job Card must be followed by a comment that looks like so:
<job card>
//*ESPSYMBOL %
<the rest of the job> |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Good to hear you have it working - thank you for posting the solution
d |
|
Back to top |
|
|
|