View previous topic :: View next topic |
Author |
Message |
Venkata Ramana Reddy Beginner
Joined: 02 Dec 2002 Posts: 70 Topics: 19 Location: California
|
Posted: Wed Jul 02, 2003 1:53 pm Post subject: Trap the PDS Name |
|
|
I have to trap the PDS name from where I submit the JCL. Is there a way to do it.. _________________ Venkataramana
-- Good judgement comes from experience, and often experience comes from bad judgement. |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Wed Jul 02, 2003 11:22 pm Post subject: |
|
|
how are you submitting the job? you can make a macro that will trap the name and submit the jcl. but then you will have to open it in edit/view mode. |
|
Back to top |
|
|
Venkata Ramana Reddy Beginner
Joined: 02 Dec 2002 Posts: 70 Topics: 19 Location: California
|
Posted: Thu Jul 03, 2003 11:08 am Post subject: |
|
|
I want to know the PDS name before hand( before submitting the JCL).Is there any system static variable(like &SYSUID) which gives me the PDS name from where I am submitting the JCL. _________________ Venkataramana
-- Good judgement comes from experience, and often experience comes from bad judgement. |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Thu Jul 03, 2003 11:50 pm Post subject: |
|
|
I understand that you want to write a JCL which on execution will be able to tell the name of its PDS.
I have another question - Is it possible to write a program in any language to tell the name of its source file on execution. If yes, I would like to see the corresponding code.
Regards,
Dibakar. |
|
Back to top |
|
|
Dibakar Advanced
Joined: 02 Dec 2002 Posts: 700 Topics: 63 Location: USA
|
Posted: Mon Oct 13, 2003 5:30 am Post subject: |
|
|
Venkataramana,
I know it's very late but still for sake of completion, this has a REXX code to do the stuff, which you can put in you job.
Diba. |
|
Back to top |
|
|
|
|