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 

Getting error " Unable to Determine Addr"

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
hithesh_r
Beginner


Joined: 22 Mar 2004
Posts: 3
Topics: 2

PostPosted: Mon Sep 05, 2005 2:55 am    Post subject: Getting error " Unable to Determine Addr" Reply with quote

I am calling a COBOL-CICS program AAA.

CALL WS-AAA USING WS-VAR-01.

In the Program AAA,
I have defined WS-VAR-01 in the linkage section.
And also used this variable in PROCEDURE DIVISION as follows.

PROCEDURE DIVISION USING WS-VAR-01.

When XPEDIT, I find the following code.

PROCEDURE DIVISION USING dfheiblk dfhcommarea WS-VAR-01.

While Xpediting, I find the Values in WS-VAR-01 corresponds to DFHEIBLK instead of WS-VAR-01.
And when I am trying to use the 05 variables of WS-VAR-01, I get the error: "Unable to Determine Addr"

As per understanding we can resolve it in 2 ways:-
i) CALL WS-AAA USING dfheiblk
dfhcommarea
WS-VAR-01.

ii) EXEC CICS LINK ('WS-AAA') .....END-EXEC.

Any pointers as why such an error occurs?
Is there any alternate way to resolve this?
What is the best way to resolve this error?
Back to top
View user's profile Send private message
CT
Beginner


Joined: 02 Aug 2005
Posts: 2
Topics: 0

PostPosted: Mon Sep 05, 2005 4:33 am    Post subject: Reply with quote

Hitesh ,

One more way is , as i guess , Program 'WS-AAA' doesnot contains any CICS commands . If yes then while compiling this program , dont use translator step .....
So the DFHCOMMAREA and DFHEIBLK will not get attached with PROCEDURE DIVISION ....

Hope this help , Thanks, CT
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 -> Application Programming 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