Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ESP Symbolic Variables not being resolved in submitted job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
luis_pr

New User


Joined: 13 Oct 2007
Posts: 18
Location: Fort Worth, Tx USA

PostPosted: Wed Aug 29, 2012 8:32 pm    Post subject: ESP Symbolic Variables not being resolved in submitted job
Reply with quote

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
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Aug 29, 2012 9:00 pm    Post subject:
Reply with quote

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
View user's profile Send private message
luis_pr

New User


Joined: 13 Oct 2007
Posts: 18
Location: Fort Worth, Tx USA

PostPosted: Wed Aug 29, 2012 9:09 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Aug 29, 2012 9:21 pm    Post subject: Reply to: ESP Symbolic Variables not being resolved in submi
Reply with quote

why not start from the manuals ?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Aug 29, 2012 9:22 pm    Post subject:
Reply with quote

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
View user's profile Send private message
luis_pr

New User


Joined: 13 Oct 2007
Posts: 18
Location: Fort Worth, Tx USA

PostPosted: Wed Aug 29, 2012 9:44 pm    Post subject:
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Aug 29, 2012 9:53 pm    Post subject: Reply to: ESP Symbolic Variables not being resolved in submi
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Aug 29, 2012 9:53 pm    Post subject:
Reply with quote

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
View user's profile Send private message
luis_pr

New User


Joined: 13 Oct 2007
Posts: 18
Location: Fort Worth, Tx USA

PostPosted: Wed Aug 29, 2012 10:09 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Aug 30, 2012 12:20 am    Post subject:
Reply with quote

Quote:
Are you sure ESPTRDSN is spelled the same everywhere
Back to top
View user's profile Send private message
luis_pr

New User


Joined: 13 Oct 2007
Posts: 18
Location: Fort Worth, Tx USA

PostPosted: Thu Aug 30, 2012 12:37 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Aug 30, 2012 12:53 am    Post subject: Reply to: ESP Symbolic Variables not being resolved in submi
Reply with quote

Good to hear you have it working - thank you for posting the solution icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts Is it possible to pass variables of s... Csongor CLIST & REXX 2 Fri Jun 10, 2016 7:33 pm
No new posts TWS 'global' or 'local' variables Steve Coalbran IBM Tools 2 Thu Mar 17, 2016 7:40 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us