× 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: "Peter Dow" <pcdow@xxxxxxxxx>
  • Date: Thu, 24 Aug 2000 16:56:57 -0700

Hi Scott,

One thing that might help is to define a file info data structure. One of
the fields in that data structure is the name of the format just read.
Knowing that will tell you which physical file the record is from. Which you
can look at when debugging.

Also, Carel Teijgeler mentioned using DFU to see what it's doing. That also
applies to DBU, AQUESTVIEW, and WRKDBF.

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


----- Original Message -----
From: <Scott.Wolf@helpsystems.com>
To: <RPG400-L@midrange.com>
Sent: Thursday, August 24, 2000 8:38 AM
Subject: Viewing the contents of a multi format logical


>
> I'm a newbie to RPG/400 and have learned much from this mailing list.
>
> I do have a question to offer up to all the gurus.
>
> 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 can't use CPYF to print because of the multiple formats.
>
> Is there any other way I can dump the contents to see why that
> field is that way?
>
> Thanks for the help.
>
> Regards,
>
> Scott Wolf
> Technical Support
> tel     952.933.0609 x3377
> fax     952.238.8414
> email   scott.wolf@helpsystems.com
>
> +---
> | 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
> +---


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
+---
| 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 ...

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.