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



On 17-Feb-2012 01:24 , Raja Ayyer wrote:

Recently I had an issue with the DSPFD command - Reduced the
record length of a database file (having record length 5777)
with the *OUTFILE (into QTEMP) and *RCDFMT options to 290!!

The "Subject:" says DSPFFD, but the above quoted text notes DSPFD, and presumably for an invocation specifying the TYPE(*RCDFMT) [Type of information] used to obtain "Record Format" information about "a database file" which is unnamed, but presumably one that is expected to have a Record Length of 5777 bytes as recorded in RFLEN of RcdFmt QWHFDFMT of the "System outfile for DSPFD TYPE(*RCDFMT)" named QAFDRFMT in QSYS or QSYS29##].

So given the comment that the DSPFD TYPE(*RCDFMT) has "Reduced the record length ... to 290", is the implication that instead of RFLEN=5777 for the output from DSPFD, the value of RFLEN=290?

Since the RcdLen for QWHFDFMT had\has long been 290, I suspect that the issue described is a just mis-inference about the scenario; i.e. a usage error.

Would appreciate if anybody can tell me whether this is normal
with the above options?

If not simply a misunderstanding of what was being viewed [e.g. accidentally viewing DSPFFD of the named OUTFILE() in library QTEMP, instead of looking at the value of RFLEN for the row data stored in the output file], then perhaps a detailed description involving the scripted requests and the effect\output of each step, rather than the attempt to describe in /words/ would be more fruitful.?

I encountered this on the AS400 i-5series.

That the issue deals with AS/400, iSeries, i5/OS, or IBM i seems intuitively obvious, not just for mention of what are presumabbly uniquely named commands DSPFFD and DSPFD, but even solely based upon the forum\mailing-list to which the message was posted. The OS level [Version, Release, and Modification level], and perhaps the installed language, would be much more pertinent in describing an issue.

Regards, Chuck

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.