MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

0C1 failure after ADDRESS TWA and SET statement

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
saurabh
Beginner


Joined: 25 Sep 2007
Posts: 5
Topics: 4

PostPosted: Thu May 21, 2009 10:14 am    Post subject: 0C1 failure after ADDRESS TWA and SET statement Reply with quote

Hi ,

Need some help on this. This code has been generated by a
tool when it converted MANTIS-CICS code to COBOL-CICS code.

Definition of TASK-WORK-AREA variable
01 TASK-WORK-AREA.
03 MANTIS-AREA-ADDR USAGE IS POINTER.

inside a section following code is there

EXEC CICS ADDRESS TWA(ADDRESS OF TASK-WORK-AREA) END-EXEC.
SET MANTIS-AREA-ADDR TO ADDRESS OF XOSSINFO-AREA-MC.
EXEC CICS LINK PROGRAM('XSSSINFO') END-EXEC.

Here the first ADDRESS TWA sets the pointer reference.
Now the SET statement is setting the same pointer to XOSSINFO-AREA-MC
which is a 'working storage' variable( XOSSINFO-AREA-MC).
Is this correct ?
After this the XSSSINFO fails with a 0C1 .

Thanks
Saurabh
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group