How to remove the spaces at end of each record in the
output file Via COBOL program?
note: The file has a VB length

Answer Posted / rajesh

U can declare a copybook for the output file without spaces
and this will do.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of outrecord?

1765


What do you understand by psb and acb?

659


) How do u handle errors in BMS macro?

1418


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

676


What are the different open modes available in cobol?

713






What is the difference between PIC 9.99 and PIC9v99?

771


What are the cobol coding sheets?

657


how do you define single dimensional array and multidimensional array in your cobol?

665


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

636


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5665


In which area will you utilize 88 level items in cobol?

708


How do u write test cases?

1631


Describe the cobol database components?

672


Mention the guidelines to write a structured cobol program?

603


how do you reference the esds vsam file formats from cobol programs

625