Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
To call 2 subprograms with different plan name

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Khwairakpam Raju Singh

New User


Joined: 05 Dec 2007
Posts: 29
Location: Bangalore

PostPosted: Fri Jul 19, 2013 4:34 pm    Post subject: To call 2 subprograms with different plan name
Reply with quote

Hi All,
Say a COBOL PROG01 need to call a sub program PROG02 (Having plan name PLAN02) and another subprogram PROG03 (Having plan name PLAN03).
As of now I am doing in two steps,
Step 1 – Main program 1 calls program PROG02 with plan name PLAN02 and write the output to one PS file.
Step2- Main Program 2 reads the PS file, created in step1 and call the PROG03 with plan name PLAN03.
Is it possible to complete these two steps in one step?

Regards,
Kh. Raju Singh
Back to top
View user's profile Send private message

Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1568
Location: Andromeda Galaxy

PostPosted: Fri Jul 19, 2013 5:26 pm    Post subject:
Reply with quote

If I understood your problem correctly

In Bind

You need to provide like this

Code:
 MEMBER(PROG02,PROG03)
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts current batch plan jzhardy DB2 3 Sun Sep 13, 2020 11:04 am
No new posts Call Natural program with rexx shahaf CLIST & REXX 2 Tue Sep 08, 2020 11:22 am
No new posts CALL statement in COBOL for VSE Kirthishine COBOL Programming 3 Fri Jun 26, 2020 12:12 pm
No new posts Need example for CALL 'ISRSUPC' in COBOL Sue Adams COBOL Programming 2 Thu May 14, 2020 5:32 am
No new posts trigger enter key automatically call ... Ziko13 CICS 17 Fri Apr 03, 2020 2:53 pm

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