Mark,
The data queue entry contains the user name that the spool file comes from,
as well as the fully qualified path and file name of the PDF (very handy).
I used an RPG program that I run in batch that does a read/wait for a data
queue entry to hit, and when one comes in, the program just formats the
fields and writes my log.  You should be able to use CLP to receive from
that data queue and parse the data queue entry into CL variables that you
can use for command processing, like the MOV command.  The user name from
the data queue can be used to set the IFS folder if need be.

Is the binary format you are referring to the data queue format?  If so,
Appendix E.2 has the layout in the Printing VI redbook.

Charles Abbott
The Persimmon Group, Inc.

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]On
Behalf Of Mark Villa
Sent: Thursday, May 27, 2004 8:51 PM
To: 'Web Enabling the AS400 / iSeries'
Subject: RE: [WEB400] Renaming a file on the IFS in batch



> F that gets created, an entry is sent to the data
> queue.  You can  use a program to snag the PDF path name from
> the data queue
> entry, and then run the MOV command.

Good catch Charles,

I had forgotten all about the DataQueue.
BTW, if you used CLP in this case I would be interested to know the correct
format of that binary. I could not get it to work.
Then I also realized I would have to make more changes to handle multiple
users with similar looking dataqueue entries.
I did not create a logging file to reassemble the destination.
That could be embarrasing to mess up, but so far I am just testing.

Mark Villa in Summerville SC

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 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.