#1: Length of a string Author: badri5, Posted: Fri Sep 25, 2009 1:23 am Hi,
I have one Input file which is 80 characters long.
one variable namely ws-var1 which is 17 characters long in the input file
Rest 63 characters are spaces. if i enter 19 characters in the input file as per the program logic it is accepting first 17 characters and the remaining 2 characters is getting truncated .could you tell me how to write the logic for this.
#2: Author: acevedo, Location: EuropePosted: Fri Sep 25, 2009 2:17 am the logic for what
If you want to keep those 2 characters...declare the field in the copy with a length of 19.
#3: Author: Anuj Dhawan, Location: Mumbai,IndiaPosted: Fri Sep 25, 2009 5:44 am Suggest you show us what you've coded and what output you get from that code. Please show the input as well. Then, some one will around with a better suggestion...