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

Sub program which has to pass data back to the calling pgm


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Apr 23, 2009 7:19 am
Reply with quote

CICS Guy wrote:
If the sub-program has EXEC CICS commands in it, yes, you will be able to directly test it.
Felix61 wrote:
ceci link prog(prog)
The remark was not directed to you, but the called sub-program, not calling program.....
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Apr 23, 2009 10:44 am
Reply with quote

If the sub-program is being passed three parms, with the third parm representing the actual data (IE: LS-WHATEVER) and DFHCOMMAREA representing the commarea of the Caller (which he's not going to touch), then I'm confused.

This would only prove that he can address the DFHCOMMAREA data and not the third-parm data, which is where the S0C4 was being raised.

Regards,
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Apr 23, 2009 4:15 pm
Reply with quote

I guess I misunderstood and that Felix is going to wait until the calling (main) program is completed, then he'll use CECI to LINK to the calling program, which will CALL the sub-program.

I thought he was going to attempt to access the sub-program directly using CECI and that's where is I was scratching my head.

OK (CECI <---> Calling Program <---> Sub-Program) makes sense.

Regards,
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts SCOPE PENDING option -check data DB2 2
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
Search our Forums:

Back to Top