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

Answers were Sorted based on User's Feedback



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

Answer / haribhau

fist remove your plug from boad and then kik ur pc!

Is This Answer Correct ?    34 Yes 14 No

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

Answer / neha

pls dont give answers in kiddish way...as this is only site people refers before facing the interview.

Is This Answer Correct ?    9 Yes 0 No

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

Answer / sandip

Inspect verb will be usefull

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


How do you define a variable of COMP-1? COMP-2?

3 Answers  


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.

1 Answers   IBM,


I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?

3 Answers  






How do pass the values to the parameters in cobol

2 Answers  


Write a cobol program making use of the redefine clause.

0 Answers  


How to execute a set of JCL statements from a COBOL program?

2 Answers   Patni, Syntel,


Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible

7 Answers   TCS,


Q:what is the difference between the variable length and fixed lenght.how it varies in the cobol.

12 Answers   CTS, Wipro,


hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.

2 Answers  


What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?

1 Answers  


Categories