IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Tailoring of JCL from the Input Received by User


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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 ([email protected]) -           
000021 CC ([email protected]) -               
000022 BCC ([email protected]) -               
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 ([email protected]) -         
CC ([email protected]) -               
BCC ([email protected]) -             
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: 8798
Location: Welsh Wales

PostPosted: Sat Sep 12, 2009 3:01 pm
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 All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts After newcopy the CICS program user f... CICS 7
No new posts User ABEND U0476. Need help. IMS DB/DC 1
No new posts Setting RC using NULLOFL/NOTMTOFL for... SYNCSORT 6
No new posts COBOL sorting, with input GDG base COBOL Programming 7
Search our Forums:


Back to Top