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
 
JCL for calling subprogram

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
paban_patt

New User


Joined: 19 Jul 2007
Posts: 5
Location: bangalore

PostPosted: Fri Aug 17, 2007 11:13 am    Post subject: JCL for calling subprogram
Reply with quote

Hi,
I am having a Cobol Main program which is calling a Cobol-Db2 subprogram. Can you say me how to write the jcl for it.


Thanks n regards
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Aug 17, 2007 11:17 am    Post subject:
Reply with quote

You code the JCL like you call a DB2 program: EXEC PGM=IKJEFT01, and DSN RUN PROGRAM in SYSTSIN.

O.
Back to top
View user's profile Send private message
paban_patt

New User


Joined: 19 Jul 2007
Posts: 5
Location: bangalore

PostPosted: Fri Aug 17, 2007 11:27 am    Post subject:
Reply with quote

Hi,

So in the program name in sysin i have to give which program name, i mean main program name or subprogram name?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Fri Aug 17, 2007 11:51 am    Post subject:
Reply with quote

main program name
Back to top
View user's profile Send private message
paban_patt

New User


Joined: 19 Jul 2007
Posts: 5
Location: bangalore

PostPosted: Fri Aug 17, 2007 12:05 pm    Post subject:
Reply with quote

so wat about the subprogram, where to mention that?
Back to top
View user's profile Send private message
ashok_srivatsav
Currently Banned

New User


Joined: 29 Jun 2007
Posts: 15
Location: India, Bangalore

PostPosted: Fri Aug 17, 2007 12:11 pm    Post subject: Reply to: JCL for calling subprogram
Reply with quote

The sub program will be called from the main program thru the call statement.
Back to top
View user's profile Send private message
paban_patt

New User


Joined: 19 Jul 2007
Posts: 5
Location: bangalore

PostPosted: Fri Aug 17, 2007 12:16 pm    Post subject:
Reply with quote

thanx a lot ALL
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts Calling CLIST through job and REXX Sahasra K CLIST & REXX 19 Tue Aug 01, 2017 10:25 am
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm

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