#1: Trap the PDS Name Author: Venkata Ramana Reddy, Location: CaliforniaPosted: Wed Jul 02, 2003 1:53 pm I have to trap the PDS name from where I submit the JCL. Is there a way to do it..
#2: Author: Dibakar, Location: USAPosted: Wed Jul 02, 2003 11:22 pm 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.
#3: Author: Venkata Ramana Reddy, Location: CaliforniaPosted: Thu Jul 03, 2003 11:08 am 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.
#4: Author: Dibakar, Location: USAPosted: Thu Jul 03, 2003 11:50 pm 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.
#5: Author: Dibakar, Location: USAPosted: Mon Oct 13, 2003 5:30 am 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.