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: 10211
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
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
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts I am unable to use SWAPBAR ON command... mrsidhu12 TSO/ISPF 3 Thu Sep 01, 2016 1:10 pm


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