Hi Rashmi,

In response to your query:

"I need to submit a job using my Rexx program.

The job looks something like this:

//S2C9011   JOB (S2C9,XX,TI),'',                    
//             MSGCLASS=T,                          
//             NOTIFY=&SYSUID,                      
//*            TYPRUN=SCAN,                         
//             CLASS=X   

.......

I am coding the Rexx program in the following way:

/* SUBMIT JOB PROCEDURE */                           
SUBMIT_JOB:                                          
       USER = USERID()                               
       NOTIFY = USER                                 
       ADDRESS ISPEXEC   "

If the only substitution that File Tailoring is being used for, then an 
alternative would be to dynamically allocate the INTRDR, and use EXECIO to read 
the job from the library and write it direct to the Internal Reader. This way 
the &SYSUID value should be correctly resolved.

Obviously if the plan is to introduce more sophisticated tailoring of the JCL 
then FT is the appropriate vehicle.   

Kind regards - Terry


Terry Sambrooks
Director
KMS-IT Limited
228 Abbeydale Road South
Dore
Sheffield
S17 3LA
UK

Tel: +44 (0)114 262 0933
WEB:
www.legac-e.co.uk
www.kmsitltd.co.uk

Reg: England & Wales 3767263 at the above address

All outgoing E-mails are scanned but it remains the recipients responsibility 
to ensure that their system is protected from viruses, trojans, worms, and 
spy-ware.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to