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



Perfect. Thank you




-----Original Message-----
From: Jon Paris [mailto:jon.paris@xxxxxxxxxxxxxx]
Sent: Thursday, August 29, 2019 10:23 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Actual file name?

Should be in the Open Feedback portion of the INFDS.

See this bit from the manual.

DCL-F MYFILE PRINTER(132) INFDS(OPNFBK);

DCL-DS OPNFBK;
ODP_TYPE CHAR(2) POS(81); // ODP Type
FILE_NAME CHAR(10) POS(83); // File name
LIBRARY CHAR(10) POS(93); // Library name

On Aug 29, 2019, at 11:04 AM, Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

I have a File Description spec that declares a disk file. The filename doesn't actually exist and is always overridden to an actual PF. Is there a way to determine what PF is actually open? I tried the INFDS keyword, but the *FILE value just shows the phony name from the spec.

TIA


--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.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.