Title: Gl165 Errors1 File And Report Distribution
Description: GL165 errors1 file and Report Distributi
PGallucci - August 16, 2008 04:32 PM (GMT)
GL165 creates several files in the print manager directory. One of these files is errors1 which is actually created by program IFTR. I have a job that runs GL165 which has a report distribution associated with it. All the files created by GL165 are distributed to the users defined in the report distribution however errors1 is not. I assume this has something to do with the fact that IFTR creates this file not GL165.
I can't modify GL165 since we're in a hosted environment. I don't want to create a clone of GL165 and modify that. User exits are not a possibility since they are for online programs. I thought of writing a script and include it as a step following GL165 BUT the rub with this approach is I don't know how to get the jobname since each execution has a unique jobname.
How can I get the errors1 file distributed to the users defined in the report distribution for GL165?
trezaei - August 16, 2008 05:52 PM (GMT)
I have a Perl script that did just what you're asking for. It's been years, so don't ask me to explain it to you. But if you like I can send it to you and it might be of some help. It wasn't pretty is all I know.
PGallucci - August 17, 2008 12:33 PM (GMT)
That would be great. Please send it to PGallucci12@Verizon.net
JC34 - August 18, 2008 11:51 AM (GMT)
You may also want to check to see if the users in the distribution list have security rights to IFTR
PGallucci - August 22, 2008 12:19 AM (GMT)
Some did have access to IFTR but others didn't. In either case no one received the errors1 file.
trezaei - August 22, 2008 12:27 AM (GMT)
Sorry, I just saw your reply, it's on my laptop, I'll fire it up tomorrow and send you what I have. It's not exactly what you want but it will show you how you have to hack GEN to make it work.
trezaei - August 22, 2008 02:22 AM (GMT)
ok
I sent it to your email, let me know if you need any help with it.
T