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 is static and dynamic call in cobol?
Write a program to enter and display the names of students in a class using the occurs clause.
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
How to know whether the module is dynamical or statistical?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are the different rules for performing sort operation?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Write the code to count the sum of n natural numbers.
What are 77 levels used for?
Write down the divisions of cobol program?
What do you understand by psb and acb?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is rmode(any) ?
What is the local-storage section?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue