how will u code parm parameter and where pls ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you reference the following file formats from cobol programs?

687


What is the usage of comp fields in cobol?

645


What is the difference between next sentence and continue in cobol programing language?

695


What are literals?

621


When is inspect verb is used in cobol?

665






Which is not true about evaluate statement

1560


What is the difference between Global and External Variables?

652


What is the utilization of copybook in cobol?

646


In which area will you utilize 88 level items in cobol?

704


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

2083


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

669


Write the code to count the sum of n natural numbers.

695


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

6660


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

701


What are declaratives and what are their uses in cobol?

696