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 will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
How does IDMS communicate with CICS?
Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working storage section for a data name?
what is the diff b/w select stsmt and cursor ?
What do you feel makes a good program?
What divisions, sections and paragraphs are mandatory for a COBOL program?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?
How do you compile cobol program..?
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?
Difference between cobol and cobol-ii?