× 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: Urgent help needed !!!!
  • From: "Carsten Flensburg" <flensburg@xxxxxxxxxx>
  • Date: Thu, 20 Apr 2000 19:39:08 +0200
  • Organization: Novasol Data AS


----- Original Message -----
From: Anton Gombkötö <Gombkoetoe@ASsoft.com>
Sent: Thursday, April 20, 2000 8:17 PM
Subject: Re: Urgent help needed !!!!



Could you please post the info or is there a non-high-security-link?

Hi Anton,

The author is Gene Gaunt who submitted it to the Midrange Computing Forums -
here it is:

For some reasons, non-CL CALLs do not write the called program name into the
WRKACTJOB function column. However, here is a way to write the current
program name into the WRKACTJOB function column. Write a "P" to position
1017 to make WRKACTJOB display PGM-name or "N" to make it display MNU-name.

D                SDS
D Program               334    343A
D PcoPtr          PR              *   extproc( '_PCOPTR' )
D                 DS                  based( MyPco )
D Function             1017   1027A
D SaveFunction     S            11A
 * at program entry
C                   eval      MyPco        = PcoPtr
C                   eval      SaveFunction = Function
C                   eval      Function     = 'P' + Program
 * at program exit
C                   eval      MyPco    = PcoPtr
C                   eval      Function = SaveFunction

Best regards,
Carsten



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


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.