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


Please Help Members By Posting Answers For Below Questions

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.

1098


how to access the file from prodution from changeman tool and to submit a file to production

6654


What is the default value(s) for an initialize and what keyword allows for an override of the default?

677


what happens if parmparameter passes zero bytes to the program

1648


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?

880






What is the difference between perform … with test after and perform … with test before?

859


What is perform what is varying?

690


Mention the guidelines to write a structured cobol program?

596


i want a program using by if, evaluate , string, unstring, perform, occurs?

4025


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.

5641


What is length is cobol?

634


Define cobol?

848


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

690


What is the Purpose of Pointer in the string?

628


What is a scope terminator give example?

641