|
View previous topic :: View next topic
|
| Author |
Message |
Pragati Soni
New User
Joined: 18 Jan 2008 Posts: 47 Location: India
|
|
|
|
My requirement is that I need to create a panel where I can enter information like the name of JCL and the location and few more parameters.
After I press enter, in the background the jcl should get submitted but before that the jcl should get modified by the parameters I will give in the panel.
Also there should an option on the panel (like EDIT JCL ___ Y/N). This for if the JCL needs to be manually modified.
I tried submitting a job using command "SUBMIT '<Dsn name>'", where I gave the location & name of my JCL in the DSN name. But it is throwing errors.
Also I have searched the forum but did not get what I am looking for. |
|
| Back to top |
|
 |
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1217 Location: Dublin, Ireland
|
|
|
|
Perhaps read in the JCL to a workfile which can be processed by EDIT MACRO to make the substitutions. Then, if EDIT_JCL = 'Y' invoke EDIT so the user can modify directly. Next, invoke another EDIT MACRO to SUBMIT.
Garry. |
|
| Back to top |
|
 |
expat
Global Moderator

Joined: 14 Mar 2007 Posts: 8798 Location: Welsh Wales
|
|
|
|
| Or read about ISPF File Tailoring Services - which was developed to do exactly what you want. |
|
| Back to top |
|
 |
Pandora-Box
Global Moderator
.jpg)
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Please check whether you are submitting like
| Code: |
/*REXX*/
ADDRESS TSO "SUBMIT '"DATASET NAME"("MEMBER")'"
|
|
|
| Back to top |
|
 |
Pedro
Global Moderator

Joined: 01 Sep 2006 Posts: 2624 Location: Silicon Valley
|
|
|
|
| Quote: |
| But it is throwing errors. |
We need more diagnostic information.
1. Issue PROFILE MSGID prior,
2. search for the error message
3. if you do not understand the error description, ask us. |
|
| Back to top |
|
 |
Pragati Soni
New User
Joined: 18 Jan 2008 Posts: 47 Location: India
|
|
|
|
It worked. Thanks a lot.
Thanks
| premkrishnan wrote: |
Please check whether you are submitting like
| Code: |
/*REXX*/
ADDRESS TSO "SUBMIT '"DATASET NAME"("MEMBER")'"
|
|
|
|
| Back to top |
|
 |
|
|