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..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Define cobol?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is amode(31)
Which Search verb is equivalent to PERFORM…VARYING?
What is link edit in cobol?
What are all the divisions of a COBOL program?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is difference between static and dynamic call in cobol?
Whats the difference between search & search ALL?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..