For Programmers: Free Programming Magazines  


Home > Archive > Clarion > August 2006 > Re: Driver strings









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Driver strings
Nelson Kaye

2006-08-16, 3:55 am


I was mistaken. It did work. I now have fixed, 102 character records
terminated by CR and LF

"Nelson Kaye" <nkaye1@nyc.rr.com> wrote in message
news:A921.1155718915.6905@discuss.softvelocity.com...
> I decided to set up a separate file definition in the proc.
>
> It looks like this:
>
> PAYPRO_FL FILE, DRIVER('ASCII', '/CLIP=OFF'), NAME(GLO:FILENAME, CREATE
> RECORD
> DETAIL STRING(102)
> END
> END
>
> My thought was that by setting up a detail of 102 characters, and

clip=off,
> that the file would have fixed length records of 102 followed by CR and

LF,
> which is what I want. In fact, they have the maximum of 256 characters.
>
> As my records may have data less than 102 characters, if I remove clip=off

I
> will have variable length records.
>
> Is there a solution???
>
> "Nelson Kaye" <nkaye1@nyc.rr.com> wrote in message
> news:A921.1155679920.6828@discuss.softvelocity.com...
> for
for[color=darkred]
> a
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com