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: 10903
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 All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts Starting a PROC with parameters from ... CLIST & REXX 6
No new posts Passing containers on START command CICS 4
No new posts Preserve changes to ISPF Panel Variables TSO/ISPF 5
Search our Forums:


Back to Top