Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 rmode(24)

1199


Mention the guidelines to write a structured cobol program?

1143


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

2607


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?

1379


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?

2332


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3278


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17931


) How do u handle errors in BMS macro

2105


What is Pic 9v99 Indicates in COBOL?

1340


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.

5796


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3319


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1386


how to move the records from file to array table. give with code example

2730


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

3214


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2438