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 Posted / 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 |
Post New Answer View All Answers
What is the problem of ordered sequential files access?
what is the difference between COBOL2 AND COBOL390?
How do get the result of your program directly on your pc?
Define static linking and dynamic linking.
What is the difference between comp and comp-3?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
How can you get the ksds file records into your cobol program?
Difference between cobol and cobol-ii?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Which division and paragraphs are mandatory for a COBOL program?
Give some examples of command terminators?
What are the various section in data division and briefly explain them.
How do define dynamic array in cobol.
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How do you reference the fixed block file formats from cobol programs