This looks like a file created by InfoPrint Server.  You can get the exact
name of the PDF that was created using a data queue specified on the PSFCFG
object.  For every PDF 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.  The layout for the data queue is in
appendix E of the iSeries Printing VI Redbook (SG24-6250).  I wrote a small
log file processing program to grab extra spool file attributes (who, what,
where) and it works great.

Good Luck.

Charles Abbott

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


>>411908_000006_MYPGM£_26052004_000001.PDF
>>I want to rename it before I add it as a URL and I want to do this in
batch
Their way of naming it unique.

>>Any suggestions ?


I was recently testing this.
You can programatically determine the name it will be,
I *CAT it all together (including the leading working folders) and I,
MOV
OBJ(/myfolder/morenumbers/morenumbers/411908_000006_MYPGM£_26052004_000001.P
DF) TOOBJ(&friendly)
MONMSG CPFA0A9 (DO)
Wait 30 secs. then loop
=======================
First I tried the MAILTAG method that changes the parameter that makes the
spool get emailed directly from infoprint.
It created a computer generated message in the body and did not seem like it
would go over too well with ANYONE!
and seemed extremely limited. One recipient?
embedding AFP tags seemed too involved for this simple task and changing
each spool file.

I found with a low end CPU InfoPrint it was a lot faster than a particular
Java based conversion.

I fully expect a multiuser solution to work with the simple MOV & monmsgs
followed by the send mail.


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