In a flat file, I just want to have a Serial number '1' (COMP - 4 bytes), then the sentence 'BATCH STARTED' (50 bytes) and then the todays date (10 bytes).
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
just want to have a Serial number '1' (COMP - 4 bytes)
Quote:
But I am not able to have the serial number as the first 4 bytes (binary COMP). So is there any other way to have this.
Yes, but it's not clear what exactly you want in those 4 bytes. '1' is X'F1' which takes 1 byte. Do you actually want a binary 1 = X'00000001'? If so you can use: