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


Please Help Members By Posting Answers For Below Questions

What is the problem of ordered sequential files access?

704


what is the difference between COBOL2 AND COBOL390?

2455


How do get the result of your program directly on your pc?

1887


Define static linking and dynamic linking.

669


What is the difference between comp and comp-3?

704






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 ?

1876


How can you get the ksds file records into your cobol program?

646


Difference between cobol and cobol-ii?

715


What is the difference between structured cobol programming and object alternativelyiented cobol?

757


Which division and paragraphs are mandatory for a COBOL program?

712


Give some examples of command terminators?

761


What are the various section in data division and briefly explain them.

700


How do define dynamic array in cobol.

675


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.

1785


How do you reference the fixed block file formats from cobol programs

709