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

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

1880


Name the divisions, which are available in a cobol program?

685


HOw can I get the negative sign while deduct high value from low value

1788


What are 77 levels used for?

659


Can a Search can be done on a table with or without Index?

802






What is the difference between binary search and sequential search?

638


How to remove 2 duplicate records and copy only one using job control language?

748


What is comp-1 and comp-2?

764


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1925


Write the code implementing the perform … varying.

643


Define cobol?

858


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.

1782


Have you used comp and comp-3 in your project? And how?

2008


How to print 10 to 1 if the input have only 10 digit number?

811


What is amode(24)?

682