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 the advantage of sync class
I hav vari declaration like..... 77 a pic s9(9).99. 77 b pic s9(9).99 comp. 77 c pic s9(9).99 comp-3. if i use MOVE 123456789.99 to a,b,c what happen every one working fine ?
can internal sort be applied to sort ksds files?
How To move a value to an array using move verb?
I got user abend U4038 while compiling my runjcl.. can anyone help me?
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
If we use GO BACK instead of STOP RUN in cobol?
what is the difference between start and startbr?
study the following code 01 A1 05 B PIC 99 05 C PIC X(4) 01 A2 05 B PIC 99V99 05 C PIC A(4) pick out the valid statement from the following a.A1 and A2 can not have sub-ordinates b.A1 and A2 can have the same sub-ordinates but must have same PIC clause c.there is nothing wrong d.A1 and A2 can have same sub-ordinates provided they are not at 01 level
What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....