× 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: Accessing files In QTEMP
  • From: Anton Gombkötö <Gombkoetoe@xxxxxxxxxx>
  • Date: Fri, 20 Oct 2000 10:19:31 +0200

At 23:50 19.10.00 +0000, you wrote:
>I just went back and looked at the code.    I am not doing quite what I
>thought I was doing.  I do the information gathering in the interactive
>part of the process,  then submit the job, then do the CRTDUPOBJ to QTEMP.

So i forget the thing with the lottery.... :-)

>....
>              SBMJOB     CMD(CALL PGM(APPLABCL) PARM(&DATE1 &DATE2 +
>                           &TYPE &HOLDP &SAVEP)) PRTDEV(&PRINTID)
>              RETURN
>              ENDDO
>   /* ======================================================= */
>   /* end of self-submitting job:                             */
>   /* ======================================================= */
>
>              RMVLIBLE   LIB(QTEMP)
>              ADDLIBLE   LIB(QTEMP) POSITION(*FIRST)

<snip>
Want to avoid the RMVLIBLE and ADDLIBLE stuff? Create a job description and 
enter it in SBMJOBs JOBD parameter!

>Sorry I pushed on it so, but this is so much easier to do than trying to
>name members, delete them, and all the other stuff that goes with trying
>to use the multi-member approach.

It works! And it is a common approach. There are situations when there is 
much more data to process than the parameters in your CL. Then a member 
approach might be easier / better. (but that's another thread... :-)

0.02 Euro




Mit freundlichen Grüssen / best regards

Anton Gombkötö

e-mail Office   :       mailto:Anton.Gombkoetoe@avenum.com
Homepage        :       http://www.avenum.com

----------
Avenum Technologie GmbH
Brigittenauer Lände 50-54, Stiege 6     Salzburger Strasse 29   Dreifelder 
Strasse 4
A-1200 Wien / Austria                   A-5163 Mattsee          D-70599 
Stuttgart

Tel./phone      :       +43-1/92101-148         +43-6217/5995 - 
0               +49-711/4411 116
Fax             :       +43-1/92101-300         +43-6217/5995 - 
13      +49-711/4411 563

----------
Avenum ist der Zusammenschluss von AS Software und Black System.

----------

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| 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.