|
I would use a user space. I you have the RPG ToolKit (www.rpgiv.com/toolkit) you can just do CrtUsrSpace('QTEMP/SELECT') and you have the user space created. Otherwise you can always call the API directly. It ain't rocket science. Bob Cozzi Cozzi Consulting www.rpgiv.com -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of CarollaT@xxxxxxxxxxxxxx Sent: Friday, December 26, 2003 3:17 PM To: rpg400-l@xxxxxxxxxxxx Subject: The passing of user selections I trust everyone had a Merry Christmas, a Feliz Navidad, and all that good stuff. If not, I wish you one (albeit belated...) I am building an RPGIV program to replace an NGS Query. The user is allowed to make several selections that involve lists of values (sites, contract IDs, etc.), and then the report is to be submitted to batch. The added requirement is that the job might be submitted multiple times while the batch component is in the job queue from other runs. I am trying to determine the best way to pass the selections to the batch submission. Should I use a USER SPACE, or a DATA QUEUE, or a uniquely named file with the selections (different field sizes, types)? I have pondered a monstrous, structured parameter string, but I have heard such things are resource intensive. How would you do it? -------------------------------------- Tony Carolla MedAmerica Billing Services, Inc. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.