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
 
Subschema usage in Calling and Called program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
senthilarumugam

New User


Joined: 09 May 2006
Posts: 19
Location: chennai

PostPosted: Tue Aug 11, 2009 1:19 pm    Post subject: Subschema usage in Calling and Called program
Reply with quote

Hi,

I have a program AAA which calls an IDMS program BBB and the subchema is defined and the records are binded in BBB. The main program AAA just calles pgm BBB and extracts some values from IDMS database.

My question is, do i need to define the subschema in pgm AAA and also do i really need to bind the records used in BBB? When I run the program without including the SS and without binding records.. my job fails!

Pls give your suggestions!
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Aug 11, 2009 7:52 pm    Post subject:
Reply with quote

Hello,

It might help if you mention the failure. . .

Posting "it didn't work" provides nothing for someone to use to help you.
Back to top
View user's profile Send private message
senthilarumugam

New User


Joined: 09 May 2006
Posts: 19
Location: chennai

PostPosted: Wed Aug 12, 2009 6:54 am    Post subject:
Reply with quote

Hi,

The IDMS error return code is '1408'.
Back to top
View user's profile Send private message
senthilarumugam

New User


Joined: 09 May 2006
Posts: 19
Location: chennai

PostPosted: Wed Aug 12, 2009 9:22 am    Post subject:
Reply with quote

hi,

Based on the testing i concluded tat we should bind the subschema which has all the records, including the records used in subprogram, in main program.

would be appreciated if you have different views!
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 -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help - DB2 Dynamic SQL Program e... NikhilGuptaGaya DB2 4 Sat Jun 23, 2018 1:58 pm
No new posts Usage/Utiliy of Plan in DB2 arijitS DB2 4 Thu Jun 21, 2018 8:16 pm
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Cobol program till a given time or fo... ankita agarwal COBOL Programming 7 Fri May 18, 2018 2:24 pm

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