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
 
Tailoring of JCL from the Input Received by User

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
pnr kishore

New User


Joined: 29 May 2008
Posts: 15
Location: CHENNAI

PostPosted: Sat Sep 12, 2009 2:24 pm    Post subject: Tailoring of JCL from the Input Received by User
Reply with quote

Hi,
Can Anybody help me on this,
My Requirement is to tailor the Model JCL after getting the input from the USer.

For Example
Code:

/*REXX*/
Say Enter the Subject
Pull Subject
A = Sub

taking the subject [A] i need to modify the 'Subject' in the JCL Control card
Code:

//SYSTSIN  DD *                           
000019 //SYSTSIN  DD *                           
000020 %MAILDS (UID@USTCAX00.KCC.COM) -           
000021 CC (UID@USTCAX00.KCC.COM) -               
000022 BCC (UID@USTCAX00.KCC.COM) -               
000023 FILE ('FILE1' 'FILE2' 'FILE3' 'FILE4' -   
000024       'FILE5') -                           
000025 MSGDD BODY -                               
000026 SUBJECT 'SUBJECT'                           


Finally if value of A is Test Example i need to have ouput as below
Code:

//SYSTSIN  DD *                           
%MAILDS (UID@USTCAX00.KCC.COM) -         
CC (UID@USTCAX00.KCC.COM) -               
BCC (UID@USTCAX00.KCC.COM) -             
FILE ('FILE1' 'FILE2' 'FILE3' 'FILE4' -                 
MSGDD BODY -                             
SUBJECT 'Test Example'                         
/*   


Thanks
Kishore P.N.R
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Sat Sep 12, 2009 3:01 pm    Post subject:
Reply with quote

At the top of the CLIST/REXX forum there is a "Sticky" for reference materials.

Go there, look at the ISPF link, and then the ISPF services manual and read all about file tailoring. It's easy enough.
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 User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Getting Mutiple input from Panels vidyaa CLIST & REXX 12 Mon Aug 14, 2017 1:28 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Need input in Scheduling Benchwarmer CA Products 5 Tue Jun 06, 2017 1:44 am

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