If performance is important i can offer you my method.
You have make table with list of libraries in which you files are, and
list of dtaq�s.
Lib1������ Dtaq1 (existing dtaq)
Lib2������ Dtaq2
Lib3������ Dtaq3
Lib4������ Dtaq4
�.
Lib15���� Dtaq15
In your program you must use Library as input parameter.
Than use this parameter with override command or I prefer extname()
opcode.
You can writer program which would read your new file and submit your
program into batch 15 times.
SBMJOB CMD(CALL PGM(PGM1) PARM('LIB1'))�
Than first call reads Dtaq1 put data into LIB1/file and put data into
�Dtaq2
The second call reads Dtaq2 put data into LIB2/file and put data into
�Dtaq3 and so on.
This example is rather scalable IMHO.
Best regards, Alex.
�
� 14.12.2015, 17:00, "JRusling@xxxxxxxxxxx" <JRusling@xxxxxxxxxxx>:
What a great thread!!!
John
<br />
The information in this email is confidential and may be legally
privileged.
It is intended solely for the addressee. Access to this email by anyone
else is
unauthorized. If you are not the intended recipient, any disclosure,
copying,
distribution or any action taken or omitted to be taken in reliance on
it, is
prohibited and may be unlawful.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: [1]RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [2]
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: [3]RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [4]
http://archive.midrange.com/rpg400-l.
�
References
Visible links
1. mailto:RPG400-L@xxxxxxxxxxxx
2.
http://lists.midrange.com/mailman/listinfo/rpg400-l
3. mailto:RPG400-L-request@xxxxxxxxxxxx
4.
http://archive.midrange.com/rpg400-l
As an Amazon Associate we earn from qualifying purchases.