[NEWSboard IBMi Forum]

Hybrid View

  1. #1
    Registriert seit
    Feb 2001
    Beiträge
    20.705
    Call stack counter
    INPUT; BINARY(4) A number identifying the location in the call stack of the call stack entry from whose message queue the messages are to be received. The number is relative to the call stack entry identified by the Call stack entry parameter. It indicates how many calls up the call stack the target entry is from the one identified by the Call stack entry parameter. Valid values follow:
    0Receive the message from the message queue of the call stack entry specified in the Call stack entry parameter.
    1Receive the message from the message queue of the call stack entry that is one earlier than the entry identified by the Call stack entry parameter.
    n (any positive number)Receive the message from the message queue of the nth call stack entry up the stack from the call stack entry specified in the Call stack entry parameter. You can use any positive number that does not exceed the actual number of call stack entries in the call stack, excluding the external message queue.

    0 = Du versucht die Nachricht deiner eigenen Aufrufebene zu lesen
    1 = Die Ebene darüber
    2 = die nächste Ebene
    n = die n. Ebene

    Du musst also nur die richtige Ebene identifizieren.
    Dienstleistungen? Die gibt es hier: http://www.fuerchau.de
    Das Excel-AddIn: https://www.ftsolutions.de/index.php/downloads
    BI? Da war doch noch was: http://www.ftsolutions.de

  2. #2
    Registriert seit
    Aug 2001
    Beiträge
    2.931
    Nur mal so eine Frage:
    Du möchtest den Nachrichten-Text der Escape-Message ermitteln?
    Reichen Dir dabei 80 Stellen?
    Wenn Ja, bei einem Abbruch werden die ersten 80 Stellen der Nachricht (voll aufbereitet) in der Programm-Status Datenstruktur auf Stelle 91-170 ausgegeben.

    Birgitta
    Birgitta Hauser

    Anwendungsmodernisierung, Beratung, Schulungen, Programmierung im Bereich RPG, SQL und Datenbank
    IBM Champion seit 2020 - 5. Jahr in Folge
    Birgitta Hauser - Modernization - Education - Consulting on IBM i

  3. #3
    Registriert seit
    Feb 2008
    Beiträge
    109
    Hallo Brigitta

    .... genauso mache ich das jetzt auch... und gebe diesen ans MainPgm weiter... alles andere ist unnötiges gefummel

    danke und Grüße

Similar Threads

  1. Embedded SQL (EXEC SQL) und QMHRCVPM
    By dirkus in forum NEWSboard Programmierung
    Antworten: 10
    Letzter Beitrag: 23-07-08, 08:35

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • You may not post attachments
  • You may not edit your posts
  •