IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Calling an subprogram which has IMS calls


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
tuvi_kp

New User


Joined: 09 Feb 2006
Posts: 4

PostPosted: Sun Jan 21, 2007 5:54 am
Reply with quote

Hi All,

I am new to IMS and here is my problem.
From an exisiting simple cobol program I want to call an existing IMS sub program (subprogram exists, but call to this subprogram from this main program doesn't exist before) which retrieves the required data from an IMS database. Already PSB is defined for the subprogram and it is being used by multiple programs in production.

In my JCL, now I am invoking the main program from an IMS utility as it is calling an IMS subprogram. Previously as it was a simple cobol program, it was invoked through EXEC PGM command in JCL.

Can I go ahead and use the same PSB of sub program for passing the PSB name to IMS utility while invoking the main program. Do we need to associate this main program to the existing PSB???

Please suggest me on this and also if you see something wrong in my approach......

Thanks,
Praveen.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Jan 22, 2007 3:05 pm
Reply with quote

Please use the search function first. Suggestion: look for DFSRRC00
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts How to go into a subprogram in IBM De... IBM Tools 5
Search our Forums:

Back to Top