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 

converting OSVS COBOL CICS to COBOL on OS390

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


Joined: 28 May 2003
Posts: 51
Topics: 30

PostPosted: Tue Oct 21, 2003 6:36 am    Post subject: converting OSVS COBOL CICS to COBOL on OS390 Reply with quote

We are converting OSVS COBOL CICS program into COBOL 390 and we are having problem at BLL cells conversion.

As per conversion strategy, BLL cell pointer variables that are at linkage section will be commented. But in our program, BLL cell pointers have been redefined and it has been checked for high and low values which we are not able to understand and translate.

Please find the following piece of code in the linkagge

01 WL-BLLCELLS.
05 FILLER PIC S9(08) COMP.
05 WL-UIB-PTR PIC S9(08) COMP.
05 WL-DLI-PCB-PTRS PIC S9(08) COMP.
05 WL-DLI-PCB1-PTR PIC S9(08) COMP.
05 WL-DLI-PCB2-PTR PIC S9(08) COMP.
05 WL-DLI-PCB3-PTR PIC S9(08) COMP.
05 WL-DLI-PCB4-PTR PIC S9(08) COMP.
05 WL-DLI-PCB5-PTR PIC S9(08) COMP.
05 WL-DLI-PCB6-PTR PIC S9(08) COMP.
05 WL-DLI-PCB7-PTR PIC S9(08) COMP.
05 WL-DLI-PCB8-PTR PIC S9(08) COMP.

---------- CNA MODIFICATION -------------- 08/07/86 I.L.
05 WL-DLI-TCTUA-PTR PIC S9(08) COMP.
05 WL-DLI-TCTUA-PTR-CH REDEFINES
WL-DLI-TCTUA-PTR.
10 WL-DLI-TCTUA-FIRST PIC X(01).
10 WL-DLI-TCTUA-REST PIC X(03).
-------- CNA MODIFICATION END ----------- 08/07/86 I.L.

As per the conversion strategy, above variables will be commented.
But below piece of code is present in the program

IF NOT (WL-DLI-TCTUA-FIRST = HIGH-VALUE AND
WL-DLI-TCTUA-REST = LOW-VALUE) AND
((TCTUA-PGM-LINE = 'B') OR
(TCTUA-PGM-LINE = 'S') OR
(TCTUA-PGM-LINE = 'T') OR
(TCTUA-PGM-LINE = 'M') OR
(TCTUA-PGM-LINE = 'N') OR
(TCTUA-PGM-LINE = 'R') OR
(TCTUA-PGM-LINE = 'P') OR
(TCTUA-PGM-LINE = 'U') OR
(TCTUA-PGM-LINE = 'V') OR
(TCTUA-PGM-LINE = 'W'))

MOVE TCTUA-PGM-LINE TO WC-PROGRAM-LINE.

So above things result in compilation error.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Tue Oct 21, 2003 7:07 am    Post subject: Reply with quote

Vani,

This OS/VS cobol program is using DL/I call interface. Check this link for Base addressability considerations for OS/VS COBOL programs

In that section you fill find a section which addresses the Conversion issues related to DL/I call interface

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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