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



Gary,

I have a pgm that gets spool file data at the moment it is created.
I use it to email/archive spool files to the IFS as soon as they are created.

I can send it to you if you like.

Jerry

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary Thompson
Sent: Wednesday, April 22, 2015 1:43 PM
To: Midrange Systems Technical Discussion
Subject: RE: SQL Query of spool file data

Well, I'm not wanting to query spool file contents for this project.
I do want to identify the existence of particular files within a range of date time, etc.
The project is for EDI 856 ASN and the goal is to validate a new custom app that is to be used to improve warehouse pallet-build accuracy.
We may want to roll this out to warehouses in several western states so I'm putting a little more into the test/verify step than is typical, hence my need to locate spool files that have been created for pallets built for recent customer deliveries.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, April 22, 2015 12:03 PM
To: Midrange Systems Technical Discussion
Subject: Re: SQL Query of spool file data

Now that is an interesting question.
What would you expect your input to be?
What results would you expect?

select JobName, JobNumber, JobUser, SpoolName, SpoolNumber, SpoolText From qsys2.RetrieveSpoolInfo( OutputQueue :
OutputQueueLib :
SpoolUser :
JobName :
...
)
where SpoolText contains "$2,097.65";

Not that it's near close enough, but the closest I can see is:
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzajq/rzajqudfgetjobinfo.htm?lang=en-us

Think of how you could adapt API's from here:
http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/print1b.htm?lang=en-us
into SQL.
Then it's just a matter of creating a view or UDTF that will do that for you.

Actually this list is being monitored by IBMers hungry to generate such SQL enhancements...
Helps if you go through the trouble of
https://www-912.ibm.com/r_dir/ReqDesChange.nsf/Request_for_Design_Change?OpenForm


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: Gary Thompson <gthompson@xxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 04/22/2015 01:44 PM
Subject: SQL Query of spool file data
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Anyone know if there is a way to query spool file data ?
Recently I've seen posts by persons like Michael Sansoterra at Broadway Systems showing recently added support for SQL query of iSeries operational data.
We're a year or so behind on PTF's (sun is setting here), but my current project could benefit from something more flexible than WRKSPLF
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

Subject to Change Notice:

WalzCraft reserves the right to improve designs, and to change specifications without notice.

Confidentiality Notice:

This message and any attachments may contain confidential and privileged information that is protected by law. The information contained herein is transmitted for the sole use of the intended recipient(s) and should "only" pertain to "WalzCraft" company matters. If you are not the intended recipient or designated agent of the recipient of such information, you are hereby notified that any use, dissemination, copying or retention of this email or the information contained herein is strictly prohibited and may subject you to penalties under federal and/or state law. If you received this email in error, please notify the sender immediately and permanently delete this email. Thank You;

WalzCraft PO Box 1748 La Crosse, WI. 54602-1748
www.walzcraft.com Phone... 608-781-6355

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.