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

Subschema usage in Calling and Called program


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Tue Aug 11, 2009 7:52 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 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 DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top