× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Find number of parms for a CL or passall
  • From: Bob Larkin <blarkin@xxxxxx>
  • Date: Wed, 04 Jun 1997 20:11:07 -0700
  • Organization: Larkin Computer Consulting

gibbsd@ZELANA.COM wrote:
> 
> Folks:
> 
> 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.
> 
> 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.
> 
> Thanks!
> 
> david
> 
>  --
> David Gibbs
> Sr. Programmer Analyst
> Zellweger Analytics, Inc.
> Lincolnshire, IL  60069
> (847) 634-2955 x293
David,
Why not simply write a front end program that then creates the RUNQRY
command string?
Another alternative would be to use an API, there misht be on for
RUNQRY, but probably not (Since we need it!!)
Had a similar problem trying to write a Validity checking program for
CHGJOB command. One of the solutions provided simply had 50 one byte
paramaters, then you could enter a parameter in the command, the VCP
would execute, then it would do a DMP on the program. Unpassed
paramaters would have an error message, the passsed paramater would not.
You could then expand that field to the size/type necessary.
-- 
Bob Larkin
Larkin Computer Consulting
blarkin@wt.net
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.