× 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.


  • Subject: RE: Viewing the contents of a multi format logical
  • From: Buck Calabro <buck.calabro@xxxxxxxxxxxxxxxxx>
  • Date: Mon, 28 Aug 2000 14:25:23 -0400

Scott Wolf wrote:

>I have a multi record format logical file that I am using. (see below)
>
>A          R WUDEPT                    PFILE(WUDPTP)
>A          K DEPT
>A          R STMASTF                   PFILE(WUSTDP)
>A          K SDEPT
>A          K STUNO
>
>The issue I'm having is on the first read 
>through the file(s) one of the fields is 
>coming up with no value, even though 
>it should contain one.  Every other 
>read is fine.
>
>I would like to be able to see how 
>the logical is retrieving the
>information from the joined files.

I would say that this is normal.  On the first read you will get one of the
record formats but not the other.  To see what happens, may I suggest
putting the program into debug mode and watching the data flow directly into
the program.  I would further suggest that you add an INFDS to tell you what
record format you just read.  Please let us know what course of action
helped you out...

FMaster    UF   E           K Disk                       
F                                     INFDS(MasFeedback) 
DMasFeedback      DS       
D  StsMasRcd        *RECORD

Buck Calabro
Aptis; Albany, NY
"We are what we repeatedly do.
 Excellence, then, is not an act, but a habit." --Aristotle


Billing Concepts Corp., a NASDAQ Listed Company, Symbol: BILL
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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 ...


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.