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 / sandip
Inspect verb will be usefull
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
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.
Have you used comp and comp-3 in your project? And how?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between PIC 9.99 and PIC9v99?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is the difference between comp and comp-3 usage?
What is perform what is varying?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is the difference between next sentence and continue in cobol programing language?
What is the LINKAGE SECTION used in COBOL?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How do u write test cases?
how do you reference the esds vsam file formats from cobol programs