× 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.



Hi,

  Qtemp is unique for each job, hence when you submit a job in batch, it
will not be able to access/retrieve the file you created in QTEMP in the
interactive session.  One solution for your problem, you can create a
work file in a user library, and clear the file each time you are going
to populate records into it. I hope this helps you out.


Regds,
Ammayappan


-----Original Message-----
From: hrishikesh kotwal [mailto:hdkotwal@hotmail.com]
Sent: Monday, November 12, 2001 7:10 PM
To: rpg400-l@midrange.com
Subject: Problem with SBMJOB (RPG III)


[ Converted text/html to text/plain ]

Hi all!



I have a Report program which currently runs interactively. The program
accepts a list of Items from the User, writes the list to a work file in
Qtemp. This workfile is used in 2 RPG programs which build various
workfiles
(also in QTEMP) and then a Report printing program uses the work files
to
generate the report.

I would like to do the following:

1. Create the Qtemp work file containing Item List (henceforth refered
as
Driving File).

2. Submit the other programs in Batch mode.

My problem is that will the Qtemp of my interactive job pass on to the
Qtemp
of my Batch job? Will the programs in batch mode find the Driving File
object?


Regards,

Hrishikesh Kotwal

>From: MBarton@pink.co.uk
>Reply-To: rpg400-l@midrange.com
>To: rpg400-l@midrange.com
>Subject: Re: Massive Changes in Query Definitions
>Date: Mon, 12 Nov 2001 13:08:15 +0000
>
>
>
>
> >> The program is a crib of the existing program RTVQRYF which is
> >> available on the net.
> >
> >If so, then...
> >
> >If the crib is simply changing the library names (patching the query
> >definition) using the framework of the RtvQryF MI program I wrote
(yes,
> >I'm the author of that shareware program), then all may not be well.
> >
> >Though the query objects will reflect the new libraries, they may not
> >work properly. The queries need to be "re-compiled" by opening and
> >saving the queries so that they will work properly. I think it might
> >have to do with access paths not being updated properly or something
> >like that (memory is lagging on this one!).
> >
> >Bottom line, be careful when trying to get away with just patching
the
> >objects. That's why I didn't create such a utility in the first
place.
> >
> >Gary Guthrie
>
>Gary
> I would have mentioned your name re RTVQRYF, but when I
>checked this morning, couldn't see any name associated with it.
>
>We have used the program alot and so-far (touch wood) have not
>had any problems with it.
>I suspect as you say, you may have to re-compile the query under
>certain circumstances - possibly if the files have different field
layouts
>etc.
>
>To all I have sent the program to - it may not work.
>
>Needless to say, the person who originally started the thread and
>whom I have sent the program to is having problems with it......
>
>Mike
>
>
>
>This communication and the information it contains: - (a) Is intended
for the
person(s) or organisation(s) named above and for no other person(s) or
organisation(s). Access to this mail by anyone else is unauthorised. (b)
Is
confidential, and may be legally privileged or otherwise protected in
law.
Unauthorised use, circulation, copying or disclosure of any part of this
communication may be unlawful. (c) May be susceptible to interference,
and
should not be assumed that it has come in its original form and/or from
the
stated sender or PinkRoccade UK accepts no responsibility for
information,
errors or omissions in this e-mail or use or misuse thereof or any act
done or
omitted to be done in connection with this communication. If you are not
the
intended recipient, please inform postmaster@pink.co.uk immediately and
delete
it and all copies from your system.
>_____________________________________________________________________
>This message has been checked for all known viruses by PinkRoccade
delivered
through the MessageLabs Virus Control Centre. For further information
visit
http://www.uk.uu.net/products/security/virus/
>_______________________________________________
>This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
>To post a message email: RPG400-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
>or email: RPG400-L-request@midrange.com
>Before posting, please take a moment to review the archives
>at http://archive.midrange.com/rpg400-l.
>

------------------------------------------------------------------------
------
Get your FREE download of MSN Explorer at http://explorer.msn.com[1]

===References:===
  1. http://go.msn.com/bql/hmtag_itl_EN.asp

_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.