Yes sir you are right it's not possible
I'm going through RUNQRY command and it works
Thanks to all the people who have contributed their suggestions.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Bentley Pearson
Sent: Wednesday, March 05, 2008 2:05 AM
To: Midrange Systems Technical Discussion
Subject: RE: Error while calling QCMDEXC API

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
205 345 7410

-----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
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. Please understand that
this is a very rarely used technique, and probably is NOT what you want.

This thread ...


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

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