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.
Regards,
Srinivas
-----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
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
As an Amazon Associate we earn from qualifying purchases.