how will u code parm parameter and where pls ?
Answers were Sorted based on User's Feedback
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 |
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 |
What is level 66 used for ?
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.
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?
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
What does the INITIALIZE verb do?
Explain complete concept of table handling in COBOL with an example?
What are options have been removed in COBOL 11?
what is scope terminator
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...........
What are the divisions in a cobol program? Which one is the mandatory division among them?
88 class is used for
What is link edit in cobol?