If I understand what Srinivas "really" wants to do is this:
He wants the RPG program to "build" the query on the fly and retain the
query that has been created by the program.

Srinivas, is this what you are attempting to do?

If so, I do not think that is possible.

Bentley Pearson
Vice President - Information Services
Southland National Insurance Corporation
1812 University Blvd
Tuscaloosa, Al
35403
205 345 7410
bpearson@xxxxxxxxxxxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck
Sent: Tuesday, March 04, 2008 2:20 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Error while calling QCMDEXC API

Srinivas Boggula wrote:
No No
when I am trying to run wrkqry from the program it takes me to wrkqry
screen there I am entering file name and library I don't want this to
be
done . Instead this process I want to do by a program.

I would advise you to listen to the people recommending RUNQRY. However

if you are bent on writing a program that will emulate a person at the
keyboard, you can use Albert York's TNAPI.
http://www.ediconsulting.com/EDIdownloads.htm Please understand that
this is a very rarely used technique, and probably is NOT what you want.
--buck

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2019 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].