using GETMAINs across programs w/ SET ADDRESS OFs



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

using GETMAINs across programs w/ SET ADDRESS OFs

Postby paulmac1968 » Thu Oct 02, 2014 9:01 pm

Simple question.....

Can I do a GETMAIN in program A, pass the pointer via linkage to program B and then in program B do a SET ADDRESS OF MY-FIELD TO PTR-FROM-PGM-A? I've seen plenty of examples of where it's all done in one program, but not across two. I'm thinking it shouldn't be an issue.

Thx.

Paul Mac
paulmac1968
 
Posts: 23
Joined: Fri Aug 10, 2012 8:42 pm
Has thanked: 0 time
Been thanked: 1 time

Re: using GETMAINs across programs w/ SET ADDRESS OFs

 

Re: using GETMAINs across programs w/ SET ADDRESS OFs

Postby BillyBoyo » Thu Oct 02, 2014 9:36 pm

Yep, should be unproblematic.
BillyBoyo
Global moderator
 
Posts: 3759
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 256 times


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post