Hi Dan,
Would it be the DSPJOBOPNF command?
https://apimymymy.wordpress.com/2011/03/24/apis-by-example-list-open-files-api-and-the-display-job-open-files-command/
Display Job Open Files (DSPJOBOPNF)
Type choices, press Enter.
Job name . . . . . . . . . . . . * Name, *
User . . . . . . . . . . . . . Name
Number . . . . . . . . . . . . 000000-999999
File name . . . . . . . . . . . *ALL Name, generic*, *ALL
Library . . . . . . . . . . . . *ALL Name, generic*, *ALL
File type . . . . . . . . . . . *ALL *ALL, *BSCF, *BSCF, *CMNF...
+ for more values
I/O type . . . . . . . . . . . . *ALL *ALL, *ANYIO, *READ...
+ for more values
Output . . . . . . . . . . . . . * *, *PRINT
Cheers,
Carsten
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Dan Bale
Sent: 22. februar 2024 00:02
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Utility to show selected files from WRKJOB's Display Open Files
Once upon a time ago, I'm nearly certain I saw a utility that would let you pass a job name/user/number and file names as parameters, and you would get a display that was similar to WRKJOB's Display Open Files, showing the I/O Details, but only for those files passed as parameters. I think it may have also had a parameter for refresh rate. This is particularly useful for when there are ten pages of Display Open Files (using WRKJOB) to scroll through every time you refresh to get to the file(s) you're watching.
I know we now have the SQL table function:
select * from table ( qsys2.open_files('<jobname>'))
and I could certainly specify file names to display, but I'm just wondering if anyone's already built that wheel and doesn't mind sharing.
Does this ring a bell?
- Dan
*** CONFIDENTIALITY NOTICE: The information contained in this communication may be confidential, and is intended only for the use of the recipients named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender. ***
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx> To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/midrange-l__;!!L0kaqaU-LQ!ceyweRnRVvq9VFp07HCz9vjIe1ZGt_wQNcZFNbTGjHNQUoKoS3Jo5vyJvRn4Uu1bM8f2IDoO3-FLehkHqCrRKEVEf9jsyr--$<
https://urldefense.com/v3/__https:/lists.midrange.com/mailman/listinfo/midrange-l__;!!L0kaqaU-LQ!ceyweRnRVvq9VFp07HCz9vjIe1ZGt_wQNcZFNbTGjHNQUoKoS3Jo5vyJvRn4Uu1bM8f2IDoO3-FLehkHqCrRKEVEf9jsyr--$>
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives at
https://urldefense.com/v3/__https://archive.midrange.com/midrange-l__;!!L0kaqaU-LQ!ceyweRnRVvq9VFp07HCz9vjIe1ZGt_wQNcZFNbTGjHNQUoKoS3Jo5vyJvRn4Uu1bM8f2IDoO3-FLehkHqCrRKEVEfxGwdiT4$<
https://urldefense.com/v3/__https:/archive.midrange.com/midrange-l__;!!L0kaqaU-LQ!ceyweRnRVvq9VFp07HCz9vjIe1ZGt_wQNcZFNbTGjHNQUoKoS3Jo5vyJvRn4Uu1bM8f2IDoO3-FLehkHqCrRKEVEfxGwdiT4$> .
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
This email message (including all attachments) is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information, or may otherwise be protected by work product or other legal rules. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Unless otherwise indicated in the body of this email, nothing in this communication is intended to operate as an electronic signature and this transmission cannot be used to form, document, or authenticate a contract. The sender and/or its affiliates may monitor all incoming and outgoing email communications, including the content of emails and attachments, for security, legal compliance, training, quality assurance and other purposes.
The sender believes that this email and any attachments were free of any virus, worm, Trojan horse, malicious code and/or other contaminants when sent. Email transmissions cannot be guaranteed to be secure or error-free, so this message and its attachments could have been infected, corrupted or made incomplete during transmission. By reading the message and opening any attachments, the recipient accepts full responsibility for any viruses or other defects that may arise, and for taking remedial action relating to such viruses and other defects. Neither the sender nor any of its affiliated entities is liable for any loss or damage arising in any way from, or for errors or omissions in the contents of, this message or its attachments.
As an Amazon Associate we earn from qualifying purchases.