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 

Removing BLL Pointers and SERVICE RELOAD

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


Joined: 07 Apr 2004
Posts: 13
Topics: 7

PostPosted: Mon Apr 16, 2007 1:36 am    Post subject: Removing BLL Pointers and SERVICE RELOAD Reply with quote

Hi,

We have a task where in we are converting couple of CICS programs from Meta COBOL to COBOL II. Here is the scenario where in we are getting an ASRA abend. I am not sure whether there is any problem in the way we converted the code Can you please correct me.

Meta COBOL Version of the code -

LINKAGE SECTION.

01 DFHCOMMAREA.
-----
01 BLL-CELLS.
05 FILLER PIC S9(08 ) COMP.
05 MAP-ADDR-PTR PIC S9(08 ) COMP.
05 MAPPTR PIC S9(08 ) COMP.
SKIP3
01 MAP-ADDR-LIST.
05 MAP-ADDR PIC S9(08 ) COMP.
SKIP3
01 MAP-AREA.
05 FILLER PIC X(08 ).
05 MAP-AREA-DATA.
10 MAP-LENGTH PIC S9(4) COMP.
10 FILLER PIC XX.
10 MAP-DATA PIC X(3000).

PROCEDURE DIVISION.

EXEC CICS
SEND MAP (WS-COMMON-MAPNAME) FROM (MAP-AREA-PCR)
SET (MAP-ADDR-PTR)
END-EXEC

MOVE MAP-ADDR TO MAPPTR SERVICE RELOAD MAP-AREA
----
MOVE MAP-LENGTH TO WS-SCREEN-LENGTH

Here is how we have converted.

LINKAGE SECTION.
01 DFHCOMMAREA.
-----

01 MAP-ADDR-LIST.
05 MAP-ADDR USAGE IS POINTER.
01 MAP-AREA.
05 FILLER PIC X(08 ).
05 MAP-AREA-DATA.
10 MAP-LENGTH PIC S9(4) COMP.
10 FILLER PIC XX.
10 MAP-DATA PIC X(3000).

PROCEDURE DIVISION.
------

EXEC CICS
SEND MAP (WS-COMMON-MAPNAME) FROM (MAP-AREA-PCR)
SET (ADDRESS OF MAP-ADDR-LIST)
END-EXEC

SET ADDRESS OF MAP-AREA TO MAP-ADDR

----
MOVE MAP-LENGTH TO WS-SCREEN-LENGTH -- This is the statement that is causing the ASRA.

Regards,
Pavani.
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