Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
JCL Accounting Information/ PANO

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
Author Message
tangentray

New User


Joined: 30 Dec 2006
Posts: 18
Location: Kolkata, India

PostPosted: Thu Jun 26, 2008 2:59 pm    Post subject: JCL Accounting Information/ PANO
Reply with quote

Hi,

I have designed a job which will be submitted by multiple users from different groups, naturally their accounting numbers/pano will change.
Is there some way I can modify the jobcard, maybe use some system variables so that the PANO is automatically resolved at runtime depending on who submits the job.

My system folks told me to use the system variable ZACCTNUM to get it and it is possible to get it through ISPF commands (ISPEXEC VGET ZACCTNUM SHARED) but that cannot be used in a JCL directly.

Please note that

Code:
//MYJOB JOB &ZACCTNUM,'myname',....


does not work.

Please let me know your thoughts.
Back to top
View user's profile Send private message
References
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3509
Location: Brussels once more ...

PostPosted: Thu Jun 26, 2008 3:04 pm    Post subject:
Reply with quote

OK, so what are you doing in your REXX / CLIST ? Do you process the VGET ?

Are you using ISPF file tailoring to build the JCL and using variable substitution ?
Back to top
View user's profile Send private message
tangentray

New User


Joined: 30 Dec 2006
Posts: 18
Location: Kolkata, India

PostPosted: Thu Jun 26, 2008 3:11 pm    Post subject:
Reply with quote

Nope, I am absolutely not using REXX/CLIST here.

It is a simple job which the users would submit. It might be argued that then why not the users change the PANO just before submitting it manually, as an answer, they would not get hold of the jcl directly, let us just say it is something like an internal reader submission.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3509
Location: Brussels once more ...

PostPosted: Thu Jun 26, 2008 3:23 pm    Post subject:
Reply with quote

Aaaaaaaaaaaaaaah, You would need to use REXX or CLIST to perform the VGET and then substitute the required value into a JCL skeleton to submit.
Back to top
View user's profile Send private message
tangentray

New User


Joined: 30 Dec 2006
Posts: 18
Location: Kolkata, India

PostPosted: Thu Jun 26, 2008 3:31 pm    Post subject:
Reply with quote

Yes I kind of already figured that out.

I wanted to know if there is any other way.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3509
Location: Brussels once more ...

PostPosted: Thu Jun 26, 2008 3:34 pm    Post subject:
Reply with quote

Not that immediately springs to mind icon_confused.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3082
Location: italy

PostPosted: Thu Jun 26, 2008 3:39 pm    Post subject: Reply to: JCL Accounting Information/ PANO
Reply with quote

when an organization does not want to write an ISPF applications for user job submission

the alternative is to use the tso submit exit ....
Back to top
View user's profile Send private message
tangentray

New User


Joined: 30 Dec 2006
Posts: 18
Location: Kolkata, India

PostPosted: Thu Jun 26, 2008 3:46 pm    Post subject:
Reply with quote

All depends on effort spent vs returns gained equation doesn't it?
Back to top
View user's profile Send private message
Moved: Thu Jun 26, 2008 4:50 pm by superk From JCL to TSO/ISPF
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1