Linkage Section



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Linkage Section

Postby vzombek » Sat Nov 26, 2011 1:42 am

Hello
I am reading existing code and Linkage section looks like:

01 LS-PARM.
05 LS-PARM-LENGTH PIC S9(04) BINARY.
05 LS-PARM-DATA PIC X(100).

01 LS-LOG-FILE-NAME-LENGTH PIC S9(04) BINARY.
01 LS-RECORD-LENGTH PIC S9(04) BINARY.
01 LS-RECORD PIC X(27990).

So can I have two parms, not redefined or what is it?
vzombek
 
Posts: 1
Joined: Sat Nov 26, 2011 1:37 am
Has thanked: 0 time
Been thanked: 0 time

Re: Linkage Section

Postby BillyBoyo » Sat Nov 26, 2011 2:17 am

Is it a "main module"?

Are there any SET statements in the program, using ADDRESS OF?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Linkage Section

Postby Robert Sample » Sat Nov 26, 2011 5:18 am

What does the PROCEDURE DIVISION USING have?
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post