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 |
How to replace the GOTO statement in COBOL without changing the structure of program. e.g. consider following code... I.D. E.D. D.D. P.D. compute C = A + B. GOTO para 100-display. compute D = C - D. GOTO 200-display. some other logic...... ........ GOTO 300-para. ...... ...... GOTO 400-para. Now I want to replacce all GOTO statements without changing the structure and otput of program.
What is difference between static and dynamic call in cobol?
What are the different data types in cobol?
what is level 66 means??
How to Write the RESTART Logic Using COBOL?
4 Answers GalaxE, L&T, Syntel, TCS,
ZEROES and SPACES are _______ constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete
What is the purpose of Identification Division?
sample code for read a 2nd record from last in flatfile how can do?
Explain fixed length record in cobol? with suitable example
What is the Purpose of Pointer in the string?
What will happen if we generate GDG +2 version instead of +1 version?
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?