|
want to do an ovrprtf so that the printer file generated by RUNQRY coresponds to the query name. Doing the override and calling the RUNQRY command is not the problem... but the various RUNQRY commands that I want to replace tend to use all the parameters available. Here's an example... RUNQRY QRY(&QRYLIB/COST.C) QRYFILE((*SAME) (*SAME) + (*SAME) (*SAME) (QTEMP/MEPRM)) david -----Original Message----- From: mlazarus@ttec.com Sent: Wednesday, June 04, 1997 11:25 PM To: MIDRANGE-L@midrange.com; GIBBS, DAVID Subject: Re: Find number of parms for a CL or pas << File: ENVELOPE.TXT >> -------------------------------------------------------------------------- -- David, >Does anyone know of a way to determine the actual number, and the type, >of parmameters for a program? Specificly an IBM program? >I'm trying to write a frontend for RUNQRY, but have not been able to get >the number, and type, of the parmameters correct. There is no easy way for an OPM pgm (if you don't have the documentation for the object. I'm not sure about ILE.) The number of parms can be determined w/ an MI pgm, though. >Another option would be to have the program simply pass ALL parameters >from the running program to a called program (QSYS/QQUDA). I know I >could do this on the S/36 with the *ALL parameter... but haven't found >anything on the '400 that's similar. What exactly are you trying to do that you can't do via the command ( and possibly QCMDEXC ) ? -mark * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * umidr -- David Gibbs Sr. Programmer Analyst Zellweger Analytics, Inc. Lincolnshire, IL 60069 (847) 634-2955 x293 Personal Philosophy: The only dumb question is the one you didn't ask. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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.