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
How are the next sentence and continue different from each other?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How do you get the data to code the BMS macro?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How you can characterize tables in cobol?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
how to access the file from prodution from changeman tool and to submit a file to production
What is the difference between next sentence and continue in cobol programing language?
How to know whether the module is dynamical or statistical?
Name the sections present in data division.
Why occurs cannot be used in 01 level in COBOL?
What is rmode(24)
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Which Search verb is equivalent to PERFORM…VARYING?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.