Here in OUTFIL Files=02 I should convert the records by appending 000 from 5th position in record. the output file is 48 length and input is 37. Though it copied records appended space for 11 characters. Is there any way to add records without appending space at the end.
Appending spaces to the end of the record is by default.
Do u want any other character to be there instead of the spaces?
If you need not have any character after 37th byte, change the record length to
37 instead of 48.
Please let us know what exactly you are trying to achieve
Regards,
Vivek G _________________ Vivek G
--------------------------------------
A dream is just a dream. A goal is a dream with a plan and a deadline. (Harvey Mackay)
Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
Posted: Mon Sep 10, 2007 6:10 am Post subject:
Quote:
Here in OUTFIL Files=02 I should convert the records by appending 000 from 5th position in record. the output file is 48 length and input is 37. Though it copied records appended space for 11 characters. Is there any way to add records without appending space at the end.
nadh,
Change your control cards for files=02 with the following
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum