Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Sub program which has to pass data back to the calling pgm
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
CICS Guy

Senior Member


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

PostPosted: Thu Apr 23, 2009 7:19 am    Post subject: Re: Reply to: Sub program which has to pass data back to the
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: 2504
Location: Atlanta, Georgia, USA

PostPosted: Thu Apr 23, 2009 10:44 am    Post subject: Reply to: Sub program which has to pass data back to the cal
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: 2504
Location: Atlanta, Georgia, USA

PostPosted: Thu Apr 23, 2009 4:15 pm    Post subject: Reply to: Sub program which has to pass data back to the cal
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts In JCL Procedure how we can execute R... Dhananjayulu Neeli CLIST & REXX 7 Sat May 16, 2020 12:01 am
No new posts APCT Abend while running an online CI... amitc23 CICS 1 Wed May 06, 2020 9:59 am
No new posts Need help in locating program and tra... Smita.t2 IMS DB/DC 1 Wed Apr 29, 2020 6:33 pm
No new posts Calling a Rexx from within another Rexx ManuelPacheco CLIST & REXX 3 Wed Apr 22, 2020 2:45 pm
No new posts Write 9(07) comp-3 data into output file clearskynot DFSORT/ICETOOL 4 Thu Apr 16, 2020 11:00 pm

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