|
Possible solution
IFILE01 NS 99 25NC1 26 C 27 C
Position 25 not '1', Position 26 & 27 both blank.
On 3/17/2014 1:39 PM, Cyndi Bradberry wrote:
I have a file with multiple record types. 3 of the 4 record types I needto manipulate, the fourth I can safely ignore.
Rcd 1
IFILE01 NS 01 25 C1
I 01 06 CLIENT
I 07 21 IDRcd B
I 287 288 DYS
IFILE01 NS 02 25 CB
I 01 06 CLIENT
I 07 21 IDRcd /
I 49 49 N61
I 74 74 N62
IFILE01 NS 03 25NC1 26 CI 27 CD
I 01 06 CLIENTRcd A
I 07 21 ID
I 26 75 NAME
IFILE01 NS 99 25 Z2 25 D0
types:
Here is a dsppfm of a portion of the file showing the different record
highlighted
2563050000000004044750111
256305000000000404475000\ID
256305000000000404475000B01
256305000000000404475
Here it is in Hex Over/Under with the portion being used for Record Id
2563050000000004044750111 Rec Id 01called Rec Id 99. What am I not doing correctly ? RTM is acceptable if you
FFFFFFFFFFFFFFFFFFFFFFFFF44
256305000000000404475011100
256305000000000404475000\ID Rec Id 03
FFFFFFFFFFFFFFFFFFFFFFFFECC
256305000000000404475000094
256305000000000404475000B01 Rec Id 02
FFFFFFFFFFFFFFFFFFFFFFFFCFF
256305000000000404475000201
256305000000000404475 Rec Id 99
FFFFFFFFFFFFFFFFFFFFF444244
256305000000000404475000000
I keep getting a unidentified record type, always on the record I want
point to the page in the book. I am V7R1.
--
Cyndi Bradberry | Programmer/Analyst
Idaho Housing and Finance Association
P.O. Box 7899, Boise, ID 83707-1899
Phone 208-331-4775| CyndiB@xxxxxxxx
www.idahohousing.com<http://www.idahohousing.com>
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.