I am converting CICS pgm's to cobol II in order to migrate from cics\vse 2.3 to cics\vse 2.7.
eventhough i replace bll-cells with pointers and use set address of command, i am getting ASRA in two places: MOVE 'P' TO PCICSS(defined as alphanum in linkage section);
move EIBDATE to CWAYYDDD(linkage section item fld).
OLD CODE
LINKAGE SECTION.
01 DFHCOMMAREA PIC X(04).
01 BLL-CELLS.
05 FILLER PIC S9(08) COMP.
05 CSSCWABR PIC S9(08) COMP.
05 CSSTWABR PIC S9(08) COMP.
05 CSSPCIBR PIC S9(08) COMP.
05 CSSTFLBR PIC S9(08) COMP.
COPY CSCCWARC.
EJECT
COPY CSCTWARC.
EJECT
COPY CSCPCIRC.
EJECT
COPY CSCTFLRC.
PROCEDURE DIVISION.
SERVICE RELOAD BLL-CELLS.
EXEC CICS ADDRESS
CWA (CSSCWABR)
TWA (CSSTWABR)
END-EXEC.
SERVICE RELOAD CWA-AREA.
SERVICE RELOAD TWA-AREA.
*SET CWAYYDDD IN CASE 1ST SIGNON AND MAP DISPLAY
IF CWAYYDDD NOT NUMERIC
MOVE EIBDATE TO CWAYYDDD.
EXEC CICS
GETMAIN
LENGTH (GBL-PCI-LENGTH)
SET (CSSPCIBR)
INITIMG (GBL-BINARY-00)
END-EXEC.
SERVICE RELOAD PCI.
IF WSRD-TRAN = 'PURC'
MOVE 'P' TO PCICSS
MOVE 'PURC' TO WS-TRANCODE.
new code
LINKAGE SECTION.
77 CSSCWABR USAGE IS POINTER.
77 CSSTWABR USAGE IS POINTER.
77 CSSPCIBR USAGE IS POINTER.
77 CSSTFLBR USAGE IS POINTER.
COPY CSCCWARC.
EJECT
COPY CSCTWARC.
EJECT
COPY CSCPCIRC.
EJECT
COPY CSCTFLRC.
PROCEDURE DIVISION.
SET ADDRESS OF TWA-AREA TO CSSTWABR.
SET ADDRESS OF CWA-AREA TO CSSCWABR.
SET ADDRESS OF T-TFL TO CSSTFLBR.
SET ADDRESS OF PCI TO CSSPCIBR.
EXEC CICS ADDRESS
CWA (ADDRESS OF CSSCWABR)
TWA (ADDRESS OF CSSTWABR)
END-EXEC.
SET ADDRESS OF TWA-AREA TO CSSTWABR.
SET ADDRESS OF CWA-AREA TO CSSCWABR.
*SET CWAYYDDD IN CASE 1ST SIGNON AND MAP DISPLAY
IF CWAYYDDD NOT NUMERIC
MOVE EIBDATE TO CWAYYDDD.
EXEC CICS
GETMAIN
LENGTH (GBL-PCI-LENGTH)
SET (ADDRESS OF CSSPCIBR)
INITIMG (GBL-BINARY-00)
END-EXEC.
SET ADDRESS OF PCI TO CSSPCIBR.
IF WSRD-TRAN = 'PURC'
MOVE 'P' TO PCICSS
MOVE 'PURC' TO WS-TRANCODE.
What am i missing? And this only one out of 100+ pgms that require changes.
eventhough i replace bll-cells with pointers and use set address of command, i am getting ASRA in two places: MOVE 'P' TO PCICSS(defined as alphanum in linkage section);
move EIBDATE to CWAYYDDD(linkage section item fld).
OLD CODE
LINKAGE SECTION.
01 DFHCOMMAREA PIC X(04).
01 BLL-CELLS.
05 FILLER PIC S9(08) COMP.
05 CSSCWABR PIC S9(08) COMP.
05 CSSTWABR PIC S9(08) COMP.
05 CSSPCIBR PIC S9(08) COMP.
05 CSSTFLBR PIC S9(08) COMP.
COPY CSCCWARC.
EJECT
COPY CSCTWARC.
EJECT
COPY CSCPCIRC.
EJECT
COPY CSCTFLRC.
PROCEDURE DIVISION.
SERVICE RELOAD BLL-CELLS.
EXEC CICS ADDRESS
CWA (CSSCWABR)
TWA (CSSTWABR)
END-EXEC.
SERVICE RELOAD CWA-AREA.
SERVICE RELOAD TWA-AREA.
*SET CWAYYDDD IN CASE 1ST SIGNON AND MAP DISPLAY
IF CWAYYDDD NOT NUMERIC
MOVE EIBDATE TO CWAYYDDD.
EXEC CICS
GETMAIN
LENGTH (GBL-PCI-LENGTH)
SET (CSSPCIBR)
INITIMG (GBL-BINARY-00)
END-EXEC.
SERVICE RELOAD PCI.
IF WSRD-TRAN = 'PURC'
MOVE 'P' TO PCICSS
MOVE 'PURC' TO WS-TRANCODE.
new code
LINKAGE SECTION.
77 CSSCWABR USAGE IS POINTER.
77 CSSTWABR USAGE IS POINTER.
77 CSSPCIBR USAGE IS POINTER.
77 CSSTFLBR USAGE IS POINTER.
COPY CSCCWARC.
EJECT
COPY CSCTWARC.
EJECT
COPY CSCPCIRC.
EJECT
COPY CSCTFLRC.
PROCEDURE DIVISION.
SET ADDRESS OF TWA-AREA TO CSSTWABR.
SET ADDRESS OF CWA-AREA TO CSSCWABR.
SET ADDRESS OF T-TFL TO CSSTFLBR.
SET ADDRESS OF PCI TO CSSPCIBR.
EXEC CICS ADDRESS
CWA (ADDRESS OF CSSCWABR)
TWA (ADDRESS OF CSSTWABR)
END-EXEC.
SET ADDRESS OF TWA-AREA TO CSSTWABR.
SET ADDRESS OF CWA-AREA TO CSSCWABR.
*SET CWAYYDDD IN CASE 1ST SIGNON AND MAP DISPLAY
IF CWAYYDDD NOT NUMERIC
MOVE EIBDATE TO CWAYYDDD.
EXEC CICS
GETMAIN
LENGTH (GBL-PCI-LENGTH)
SET (ADDRESS OF CSSPCIBR)
INITIMG (GBL-BINARY-00)
END-EXEC.
SET ADDRESS OF PCI TO CSSPCIBR.
IF WSRD-TRAN = 'PURC'
MOVE 'P' TO PCICSS
MOVE 'PURC' TO WS-TRANCODE.
What am i missing? And this only one out of 100+ pgms that require changes.