What is the Linkage section? What is the Use and Why the
parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9
(4) COMP." any reason?.Please let me know any one...
Cheers,Prasad
Answer Posted / siri
LINKAGE SECTION:- IT IS SECTION OF THE DATA DIVISION..IT IS USED TO LINK BETWEEN THE TWO SUB PROGRAMS...PASS THE VALUE FROM JCL BY PARM PARAMETER...
DECLARE THE PARM PARAMETER IN COBOL PROGRRAM
LINKAGE SECTION.
01 PARM-FIELD.
05 PARM-LENGTH PIC S9(4) COMP.
05 PARM-VALUE PIC X(6)
PROCEDURE DIVISION USING PARM-FIELD.
THE PROGRAM CAN RECEIVE THEM USING LINKAGE SECTION.THE LINKAGE SECTION MUST BE CODED WITH HALF WORD BINARY FIELD AS FIRST FIELD.THIS IS POPULATED IS POPULATED WITH LENGTH OF THE PARM PASSED FROM THE JCL.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What the difference is between continue and next sentence?
What are various search techniques in cobol? Explain.
Why did you choose to work with ibm mainframe cobol programming?
What is cobol?
IF I mention stop run in CICS what happens?
Write some characteristics of cobol as means of business language.
Difference between array and sub-script ?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are the rules of the move verb?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
how to access the file from prodution from changeman tool and to submit a file to production
What are the access modes of START statement?
What is the local-storage section?
How do you differentiate between cobol and cobol-ii?
what is difference between cobol and cobol/400