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
 
Calling an subprogram which has IMS calls

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Calling an subprogram which has IMS calls
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Jan 22, 2007 3:05 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm

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