how will u code parm parameter and where pls ?

Answers were Sorted based on User's Feedback



how will u code parm parameter and where pls ?..

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

how will u code parm parameter and where pls ?..

Answer / alla srikanth

//step01 exec pgm=pgm1,parm='data'

Is This Answer Correct ?    8 Yes 0 No

how will u code parm parameter and where pls ?..

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

More COBOL Interview Questions

What is level 66 used for ?

3 Answers   TCS,


How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.

1 Answers   Syntel,


Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?

1 Answers  


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

0 Answers  


What does the INITIALIZE verb do?

1 Answers  






Explain complete concept of table handling in COBOL with an example?

2 Answers   IBM, TCS, Wipro,


What are options have been removed in COBOL 11?

1 Answers  


what is scope terminator

2 Answers   IBM,


how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........

4 Answers   Wipro,


What are the divisions in a cobol program? Which one is the mandatory division among them?

1 Answers  


88 class is used for

5 Answers   CTS, EDS,


What is link edit in cobol?

0 Answers  


Categories