Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Need to submit JCL through panel (pass paramater)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Pragati Soni

New User


Joined: 18 Jan 2008
Posts: 47
Location: India

PostPosted: Tue Apr 21, 2009 5:03 pm    Post subject: Need to submit JCL through panel (pass paramater)
Reply with quote

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
View user's profile Send private message

Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 995
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Tue Apr 21, 2009 5:11 pm    Post subject:
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Apr 21, 2009 6:10 pm    Post subject:
Reply with quote

Or read about ISPF File Tailoring Services - which was developed to do exactly what you want.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1537
Location: Andromeda Galaxy

PostPosted: Tue Apr 21, 2009 7:34 pm    Post subject:
Reply with quote

Please check whether you are submitting like

Code:


/*REXX*/                                                 
ADDRESS TSO "SUBMIT '"DATASET NAME"("MEMBER")'"   

Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2051
Location: Silicon Valley

PostPosted: Tue Apr 21, 2009 9:23 pm    Post subject: Reply to: Need to submit JCL through panel (pass paramater)
Reply with quote

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
View user's profile Send private message
Pragati Soni

New User


Joined: 18 Jan 2008
Posts: 47
Location: India

PostPosted: Wed Apr 22, 2009 4:09 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
No new posts SCLM -- not installed -- panel ISRNOSLM dmitchell1105 IBM Tools 3 Fri Jun 09, 2017 10:41 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us