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
What is rmode(24)
Mention the guidelines to write a structured cobol program?
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
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
what is s000 u4087 error? please give the all error codes in cobol,jcl.
) How do u handle errors in BMS macro
What is Pic 9v99 Indicates in COBOL?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
how to move the records from file to array table. give with code example
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How to use the same COBOL program in Batch and CICS on lines? explain with an example