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

can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2115


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

915


Which mode is used to operate the sequential file?

912


What is report-item in COBOL?

887


What do you understand by psb and acb?

842


What is comp-1 and comp-2?

929


What are the different rules to perform a Search?

802


What is the compute verb? How is it used?

845


how to refer the data field?

1985


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

846


How do define dynamic array in cobol.

850


What is amode(31)

901


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2949


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2101


what is the use of outrecord?

1964