|
|
| Author |
Message |
tangentray
New User
Joined: 30 Dec 2006 Posts: 18 Location: Kolkata, India
|
|
|
|
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 |
|
 |
References
|
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3509 Location: Brussels once more ...
|
|
|
|
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 |
|
 |
tangentray
New User
Joined: 30 Dec 2006 Posts: 18 Location: Kolkata, India
|
|
|
|
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 |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3509 Location: Brussels once more ...
|
|
|
|
| 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 |
|
 |
tangentray
New User
Joined: 30 Dec 2006 Posts: 18 Location: Kolkata, India
|
|
|
|
Yes I kind of already figured that out.
I wanted to know if there is any other way. |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3509 Location: Brussels once more ...
|
|
|
|
Not that immediately springs to mind  |
|
| Back to top |
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 3081 Location: italy
|
|
| Back to top |
|
 |
tangentray
New User
Joined: 30 Dec 2006 Posts: 18 Location: Kolkata, India
|
|
|
|
| All depends on effort spent vs returns gained equation doesn't it? |
|
| Back to top |
|
 |
Moved: Thu Jun 26, 2008 4:50 pm by superk From JCL to TSO/ISPF |
|
|