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
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
How do you define a variable of comp-1 and comp-2?
What rules are followed by the search verb.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
In which area will you utilize 88 level items in cobol?
What is a SSRANGE and NOSSRANGE?
how do you reference the rrds file formats from cobol programs
How do you differentiate between cobol and cobol-ii?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
what is the difference between COBOL2 AND COBOL390?
How do get the result of your program directly on your pc?
what is difference between cobol and cobol/400
What is the problem of ordered sequential files access?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
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 ?