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 are some examples of command terminators?

1 Answers  


How do you get the data to code the BMS macro?

0 Answers   IBM,


What is ASKTIME, SUSPEND

1 Answers   IBM,


What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.

3 Answers   IBM, Xansa,


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

0 Answers  






diffrence between z(2) and z9(2)

4 Answers   Cap Gemini,


What type of SDLC u followed? Why?

0 Answers   IBM,


When can the USING phrase be included in the call statement ?

2 Answers  


Where the Plan is located in CICS-DB2

2 Answers   IBM,


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

0 Answers  


what is the default print format? in cobol

3 Answers   HSBC,


what are the isolation levels and where we use it in the db2 program

3 Answers   TCS,






Categories