• Subject: Re: Logical File with Field being substringed as a Key
  • From: "Peter Dow" <pcdow@xxxxxxxxx>
  • Date: Thu, 23 Mar 2000 13:08:32 -0800

Yes, it's possible. The only tricks are that

1) you can't use the physical file's format - you'll have to specify all the
fields you want from the physical under a new format name.

2) the substringed field must be specified as input-only.

See the manual for more information and examples:

http://publib.boulder.ibm.com/pubs/html/as400/online/v4r4eng.htm


hth
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax


----- Original Message -----
From: <dbryant@banpharm.com>
To: <midrange-l@midrange.com>
Sent: Thursday, March 23, 2000 11:40 AM
Subject: Logical File with Field being substringed as a Key


>
>
> I need to create a logical file and substring one of the fields and use
the
> substringed portion as a key.  Possible?  If so, any examples?
>
> Thanking you in advance!
>
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.