Many thanks for the reply.  I'll give it a go.
Also had a suggestion for the REN command as it works for an IFS object from
a CL Program.  

What are you using to do the Emailing ?
We have that as a future requirement. 


Regards,

Adrian Smith 


-----Original Message-----
From: Mark Villa [mailto:as400-4-me@xxxxxxxxx]
Sent: 27 May 2004 02:42
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.

"This Email and any attachments contains confidential information and is 
intended solely for the individual to whom it is addressed. If this
Email has been misdirected, please notify the author as soon as
possible. If you are not the intended recipient you must not disclose,
distribute, copy, print or rely on any of the information contained, and all 
copies must be deleted immediately.
Whilst we take reasonable steps to try to identify any software viruses, any 
attachments to this e-mail may nevertheless contain viruses which our 
anti-virus software has failed to identify. You should therefore carry out your 
own anti-virus checks before opening any documents.
Platform will not accept any liability for damage caused by
computer viruses emanating from any attachment or other document
supplied with this e-mail.
Platform reserves the right to monitor and archive all e-mail
communications through its network. No representative or employee of
Platform has the authority to enter into any contract on
behalf of Platform by email".

Platform is the trading name of Platform Home Loans Limited, incorporated in 
England and Wales (Company No. 2334606). Registered Address: Exchange Tower, 2 
Harbour Exchange Square, London, E14 9FR.
Platform Home Loans Limited is a member of the General Insurance Standards 
Council.
Platform Home Loans Limited is a member of the Council of Mortgage Lenders and 
undertakes to comply with The Mortgage Code. We will only accept business from 
introducers who are currently MCCB registered.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.