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



I think I remember those! You had to run a command just before the CALL
command in the CLP to populate the Record Address File. It was meant to
sort the data for input. Can't remember what the command to run is,
though.

John Furniss
Applications Programmer
Allied Machine & Engineering, Corp
Phone: 330-343-4283 Ext. 8371
Fax: 330-602-3400
email: jfurniss@xxxxxxxxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Dave Boettcher
Sent: Tuesday, October 16, 2007 5:29 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: Re: RPG II question

From the manual with WDSC it is a Record Address File. ONly used it a
few times, years ago.
Record Address File (RAF)
A record-address file is a sequentially organized file used to select
records from another file. Only one file in a program can be specified
as a record-address file. This file is described on the file description
specification and not on the input specifications. A record-address file
must be program-described; however, a record-address file can be used to
process a program described file or an externally described file.

The file processed by the record-address file must be a primary,
secondary, or full-procedural file, and must also be specified as the
parameter to the RAFDATA keyword on the file description specification
of the record-address file.

You cannot specify a record-address file for the device SPECIAL.

UCS-2 fields are not allowed as the record address type for record
address files.

A record-address file that contains relative-record numbers must also
have a T specified in position 35 and an F in position 22.

Quoted from the RPG reference

hth

Dave B

"Shannon ODonnell" <sodonnell@xxxxxxxxxxxxxxxxxxxxxxxxx> 10/16/07
4:21 PM >>>
Hi,





What does the file type of "R" mean in an RPGII file spec? It's
position 18
of the "F" spec (where you might put a "P" for primary or "I" for
Input).



I so rarely use RPGII that I can no longer remember these old codes.



Thanks,



Shannon O'Donnell


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.