How can i write a comp-3 variable into a sequential file
should i declara the field in the file description as comp-
3?
Answer / suresh kumar
Hi,
Define the field, which u r going to write, as Comp-3 in
the File description and write it to the output file.
Thanks,
Suresh
Is This Answer Correct ? | 5 Yes | 5 No |
Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be
HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?
What will happen if we generate GDG (+2) version without generating (+1) version?
can we use full outer join with cursors declared in cobol program?
What is the difference between subscript and index?
How arrays can be defined in COBOL?
how to move the records from file to array table. give with code example
What is the difference between Global and External Variables?
Difference between ps, esds
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?
Why occurs can not be used in 01 level ?