When an AS400 CLP runs, it is copying a variable number of spooled files to a directory on our IFS as Text files.
Because of AS400 syntax, I had to name the files with a leading letter. ie. P12345.txt
In the email agent to attach all these files and send, I need to rename the file, eliminating the leading 'P' so that the final outcome is 12345.txt.
I can have any number of files to attach so the current logic is in a loop to read through all the files in my Directory.
I am not a Notes Developer. I'm RPG so I'm learning by example at this point. Can anyone help me? THANKS