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
 

 

Passing parameters from ISPF to JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Passing parameters from ISPF to JCL
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: 2360
Location: Israel

PostPosted: Mon Nov 05, 2007 5:49 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Mon Nov 05, 2007 6:29 pm    Post subject: Reply to: Passing parameters from ISPF to JCL
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    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 LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 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 Design of ISPF panel prino TSO/ISPF 2 Wed Jan 25, 2017 10:31 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm


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