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

How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

704


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

706


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

709


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1840


What is inspect in cobol ?

797






What rules are followed by the search verb.

631


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

817


Difference between cobol and cobol-ii?

704


What are the different rules of SORT operation?

691


What are the rules of the move verb?

701


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2102


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

670


What are different data types in cobol?

685


What is perform what is varying?

701


How arrays can be defined in COBOL?

661