how will u code parm parameter and where pls ?
Answers were Sorted based on User's Feedback
Answer / hari nagisetty
In JCL
//step1 exec pgm=cobprog,parm='abcdef'
In COBOl
LINKAGE SECTIN.
01 PARM-FIELD.
05 PARM-LENGTH PIC S9(4).
05 PARM-VALUE PIC X(6).
PROCEDURE DIVISION USING PARM-FIELD.
abcdf will reflect in PARM-VALUE
| Is This Answer Correct ? | 20 Yes | 2 No |
Answer / rakesh reddy
In JCL
//step1 exec pgm=cobprog,parm='abcdef'
In COBOl
LINKAGE SECTIN.
01 PARM-FIELD.
05 PARM-LENGTH PIC S9(4)comp.
05 PARM-VALUE PIC X(6).
PROCEDURE DIVISION USING PARM-FIELD.
abcdf will reflect in PARM-VALUE
| Is This Answer Correct ? | 5 Yes | 1 No |
How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.
what is record label is empty or standard in file description of data division?
what is the minimum number of lines a Cobol program should have to successfully compile and run
11 Answers ABC, Societe Generale,
Explain how to differentiate call by context by comparing it to other calls?
What is the maximum length of a field you can define using COMP-3 in COBOL?
what is level 66 means??
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?
how many divisions are there in cobol
explain sorting techniques in cobol program?
what is amode(24), amode(31), rmode(24) and rmode(any)?
There are two flat files one having 10 records and other having 5 records. write a cobol pgm to find the duplicate records(matching records)from both files.
How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.