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 |
Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?
can we read in input the file with a variable length ? please , how ..could you help me ?
can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
write a program to eliminate duplicate records in a input file and send them to output file.THIS IS IGATE RECENT QUESTIONN.....JUST 1 WEEK BACKKKK...
What are different data types in cobol?
How you can delete a record from a ps file in cobol?
what is the difference between COBOL2 AND COBOL390?
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.
If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.
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.
wht is structured cobol pgm and non structred cobol pgm ?