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

Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


Write a program to explain size error.

679


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8670


Can a Search can be done on a table with or without Index?

808


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024






What rules are to be followed while using the corresponding options?

643


What is length is cobol?

652


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

1703


What are 77 levels used for?

661


how do you reference the variable unblock file formats from cobol programs

754


Which mode is used to operate the sequential file?

673


What is the difference between PIC 9.99 and PIC9v99?

783


What are literals?

634


What do you understand by psb and acb?

669


What is rmode(any) ?

688