MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help Required with IKJEFT utiliity

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
ankusume4u
Beginner


Joined: 26 May 2004
Posts: 5
Topics: 2

PostPosted: Fri Aug 27, 2004 8:17 am    Post subject: Help Required with IKJEFT utiliity Reply with quote

Hello,

I am using a JCL which passes a parameter PARAM1 a parameterized PROC .

Now somewhere in this proc this parameter needs to get passed to a COBOL\DB2 program which is being run using IKJEFT utility. There is a PARAM keyword that can be used but throuh that i can only send harcoded values. How do i send a dynamic parameter in SYSIN?? Illustrated below. Is their any other way of doing this??

Code:
**********JOB1***********
//JOB1STEP  EXEC JOB2,
//         PARAM1= 'XYZ'

*************JOB PROC JOB2**********
//JOB2STEP EXEC PGM = IKJEFT1B
//SYSOUT=*
//SYSIN
//SYSTSIN  DD  *                               
    DSN  SYSTEM(DBAG)                           
    RUN  PROGRAM(PROG1)  -                   
         PLAN(PLAN-NAME)     -                   
         LIB('LOAD-LIBRARY')
         PARAM(???????????)
END                                                   

END
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Aug 27, 2004 9:00 am    Post subject: Reply with quote

ankusume4u,

Please search before posting. This topic has been discussed earlier.

http://www.mvsforums.com/helpboards/viewtopic.php?t=2604&highlight=parm+pass

http://www.mvsforums.com/helpboards/viewtopic.php?t=2456&highlight=parm+pass

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ankusume4u
Beginner


Joined: 26 May 2004
Posts: 5
Topics: 2

PostPosted: Sat Aug 28, 2004 2:23 am    Post subject: Reply with quote

Thanks Kolusu,

I got the answer to my query.

Regards,
Ankush
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group