how will u code parm parameter and where pls ?
Answer Posted / 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 |
Post New Answer View All Answers
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
how to access the file from prodution from changeman tool and to submit a file to production
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what happens if parmparameter passes zero bytes to the program
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between perform … with test after and perform … with test before?
What is perform what is varying?
Mention the guidelines to write a structured cobol program?
i want a program using by if, evaluate , string, unstring, perform, occurs?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is length is cobol?
Define cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the Purpose of Pointer in the string?
What is a scope terminator give example?