× 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 Jeff,
Run DSPDBR (dsplay database relation) on the logical. Then search for
"Based on" in the output. It will show you the file and library of the
actual physical file.

__________________________________________________
Michael Steigman
i5 (AS/400) Programmer & Administrator Migdal Ha'Emeq
IT Israel
Information Technology
tel. +972 4 6447788
fax. +972 4 6447789
mobile +972 54 3000169
website www.Vishay.com
intranet intra.globalit.Vishay.com
Vishay Israel, Ltd.
Ramat Gabriel, P.O.B. 852, Migdal HaEmeq, 10500, Israel
__________________________________________________

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Winchester Terry
Sent: Friday, 25 June, 2010 20:16
To: Midrange Systems Technical Discussion
Subject: RE: Logical file missing records

It looks like that there are two files, one in the T37FILES library
and one in the R37FDO library and your pointing to the wrong one...

Terry
--

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Young
Sent: Friday, June 25, 2010 12:57 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Logical file missing records

I have a logical file that has no select/omit criteria, only
one member, but the number of index entries is less than the
number of records in the based on physical file member.
The logical file has the following attributes:
DSPFD Command Input

File . . . . . . . . . . . . . . . . . . . : FILE
VXAMOPTC
Library . . . . . . . . . . . . . . . . . :
*LIBL
Type of information . . . . . . . . . . . . : TYPE
*SELECT

*MBR
File attributes . . . . . . . . . . . . . . : FILEATR
*ALL
System . . . . . . . . . . . . . . . . . . : SYSTEM
*LCL
File Description Header

File . . . . . . . . . . . . . . . . . . . : FILE
VXAMOPTC
Library . . . . . . . . . . . . . . . . . . :
T37FILES
Type of file . . . . . . . . . . . . . . . :
Logical
File type . . . . . . . . . . . . . . . . . : FILETYPE
*DATA
Auxiliary storage pool ID . . . . . . . . . :
00001
Select/Omit Description

(No select/omit rules in file)

Based on file . . . . . . . . . . . . . . :
VXAMOPTN
Library . . . . . . . . . . . . . . . . :
T37FILES
Member . . . . . . . . . . . . . . . . :
VXAMOPTN
Logical file format . . . . . . . . . . :
XAMNOPR
Number of index entries . . . . . . . . :
3006


The based on physical has the following attributes:
File Description Header

File . . . . . . . . . . . . . . . . . . . : FILE
VXAMOPTN
Library . . . . . . . . . . . . . . . . . . :
R37FDO
Type of file . . . . . . . . . . . . . . . :
Physical
File type . . . . . . . . . . . . . . . . . : FILETYPE
*DATA
Auxiliary storage pool ID . . . . . . . . . :
00001
Member List

Source
Creation Last Change Deleted
Member Size Type Date
Date Time Records Records
VXAMOPTN 2932736 11/08/05 06/25/10
12:47:28 3196 0

Total number of members . . . . . . . . . : 1

From what I understand, the logical file should have the
same number of index entries as the physical file has records
unless there are select/omit criteria specified.

I am at V6R1.

Any suggestions?

Thanks,

Total number of members . . . . . . . . . :
1

Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries
Technical Solutions V5R2
IBM Certified Specialist- e(logo) server i5Series Technical
Solutions Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical
Solutions Implementer V5R3
--
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.



Confidentiality Notice:

The preceding e-mail message (including any attachments) contains
information that may be confidential, protected by applicable legal
privileges, or constitute non-public information. It is intended to be
conveyed only to the designated recipient(s). If you are not an intended
recipient of this message, please notify the sender by replying to this
message and then delete it from your system. Use, dissemination,
distribution or reproduction of this message by unintended recipients is

not authorized and may be unlawful.




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.