Left-justify (was Re: Export fixed length)
scooter6 at gmail.com
scooter6 at gmail.com
Thu Aug 11 08:29:20 PDT 2011
ach(5) is the 5th field of the fixed length file I'm trying to create
ach(6) is the 6th field of the fixed length file I'm trying to create
1 ------- - - - - - - - - - - - - - - - -
■
If: ■
Then: export ascii ach=/appl/fpmerge/achtest.txt r=\n
-X ■
2 ------- - - - - - - - - - - - - - - - -
■
If: ■
Then:
ach(1)="6";ach(2)="27";ach(3)=mid(1,"1","8");ach(4)=mid(1,"9","1")■
3 ------- - - - - - - - - - - - - - - - -
■
If: ■
Then: aa(17,lj)=2;ach(5)=aa; ■
4 ------- - - - - - - - - - - - - - - - -
■
If: ■
Then: ab(10,0rjdot)=18;ach(6)=ab ■
5 ------- - - - - - - - - - - - - - - - -
■
If: ■
Then:
write ■
6 ------- - - - - - - - - - - - - - - - -
■
If: ■
Then:
end
On Thu, Aug 11, 2011 at 11:18 AM, Kenneth Brody <kenbrody at spamcop.net>wrote:
> On 8/11/2011 11:07 AM, scooter6 at gmail.com wrote:
>
>> DDW? lol
>> With lj edit added as you stated lj [{!" "!}] {*}
>>
>> If:
>> Then: aa(17,lj)=2;ach(5)=aa<-- where field 2 is where I want to apply
>> the edit
>>
>>
>> This did not left justify the field
>>
>
> Well, what's the definition of ach(5)?
>
>
> As well, doing the 0rjdot edit didn't change the field to zero-filled
>> right justify amount
>>
>> If:
>> Then: ab(10,0rjdot)=18;ach(6)=ab
>>
>
> And what's the definition of ach(6)?
>
> [...]
>
> --
> Kenneth Brody
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20110811/919aa25f/attachment.html
More information about the Filepro-list
mailing list