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
 

 

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 Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts User exit in COBOL programs ganasrinivasan PL/I & Assembler 0 Thu Aug 18, 2016 12:48 pm


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