IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Passing parameters from ISPF to JCL


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
leo_viky

New User


Joined: 28 Oct 2006
Posts: 9

PostPosted: Mon Nov 05, 2007 5:02 pm
Reply with quote

Hi,

I have an ISPF panel which can submit a JCL,but im not able to pass a parm to the JCL.Here's my ISPF panel..

&ZSEL = TRANS( TRUNC (&ZCMD,'.')
1,'CMD(SUB ''MY.JCL.DATASET'')'
2,'PANEL(CONFIRM) ADDPOP'
3,'CMD(%COLOR)'
' ',' '
*,'?' )


The JCL gets submitted whenever the user chooses option 1 from the panel.However i need to pass a parm to the JCL.Can someone help me out?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Nov 05, 2007 5:49 pm
Reply with quote

As far as I know, there is no way to pass data parameters using the TSO command SUBMIT (and your panel actually issues the TSO command SUBMIT).

O.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Nov 05, 2007 6:29 pm
Reply with quote

write a small ISPF application which :

displays a panel asking for the parameters

uses the ISPF skel processing feature to customize the JCL

submits the customized JCL
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts Adding QMF and SPUFI to the ISPF menu DB2 20
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Passing SYSPRINT to Invoked Program PL/I & Assembler 9
Search our Forums:

Back to Top