Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10326
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 MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Conditional highlighting of rows in I... packerm CLIST & REXX 2 Thu Sep 21, 2017 6:50 pm
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us