× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

I did this, and it worked out, thanks dear.

Best Regards,

Luqman

<mschutte@xxxxxxxxxxxx> wrote in message 
news:OF23F40CF2.7B42B2F6-ON85257129.00490E69-85257129.004942E2@xxxxxxxxxxxxxxx
> Simple answer.
>
> The reason it won't compile is because you have ANAME defined as two
> different datatypes.  in the table it's varying, but in the printer file
> it's fixed.  You cannot have varying variables in a printer file.  I
> suggest that you should just rename the fields in the PRTF and move your
> TABLE to them before writing.
>
> Michael Schutte
> Work 614-492-7419
> email  michael_schutte@xxxxxxxxxxxx
>
>
>
>             "Luqman"
>             <luqman@pearlsoft
>             .com.pk>                                                   To
>             Sent by: 
> midrange-l@xxxxxxxxxxxx
>             midrange-l-bounce                                          cc
>             s@xxxxxxxxxxxx
>                                                                   Subject
>                                       Did any one use varchar field in
>             03/06/2006 06:10          RLU PRTF?
>             AM
>
>
>             Please respond to
>             Midrange Systems
>                 Technical
>                Discussion
>             <midrange-l@midra
>                 nge.com>
>
>
>
>
>
>
> I tried this, but my RPG Program is not compiling ? It says:
>
> "Varying Length input field is not defined internally as varying length"
>
> My code is as under:-
>
> My Table is:
> Create Table Acc(Acode char(21), Aname Varchar(50))
>
> My RPG Code is as under:-
> FACC       IF   E             DISK    RENAME(ACC:ACCN)
> FRPTRLU    O    E             PRINTER
> /FREE
>  READ ACCN;
>  DOW NOT %EOF;
>  WRITE DET;
>  READ ACCN;
>  ENDDO;
>  *INLR=*ON;
> /END-FREE
>
>
> My RLU DDS is:
>
> A          R DET
> A            ACODE         21A  O     1
> A                                      SPACEB(001)
> A            ANAME         50A  O    +1
>
> Do I have to put Varying Keyword in RLU or RPG ?
>
> Best Regards,
>
> Luqman
>
>
>
>
> Best Regards,
>
> Luqman
>
>
>
> --
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
> list
> To post a message email: 
> MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>
>
> -- 
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
> list
> To post a message email: 
> MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
> 




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.