× 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: AW: Generate a screen print like "Print-Key"- Function
  • From: "Steibert, Michael" <SteibertM@xxxxxxxxxxxx>
  • Date: Thu, 1 Mar 2001 16:58:06 +0100

Hello Carsten and all,

I'am interested at your program.

I have used the 5250 datastream commands (and USRDFN rcdfmt in DSPF)
in the past trying to solve this problem. The difficulty here was to find
the 
startpoint inside the streambuffer where the screen begins. 

I'll try to write a program to make "screen-print" with DSM-API'S and
a little bit later in MI, following the examples given in Leif Svalgaard's 
fascinating eBook "AS/400 Machine-Level Programming".

My main interest was here the second part of my question:
"how to find out the attributes of the parameterlist?".
My idea was to use an existing system provided function (program)
without any other work.

To one and all, thank you for your input. 

Michael Steibert, Germany


-----Ursprüngliche Nachricht-----
Von: Carsten Flensburg [mailto:flensburg@novasol.dk]
Gesendet am: Mittwoch, 28. Februar 2001 13:15
An: MI400@midrange.com
Betreff: Re: Generate a screen print like "Print-Key"- Function

Hello Michael,

You could use the DSM API's to capture the current screen buffer and then
roll your own program outputting the content in whatever way you want.

I have a program that does part one (getting the screen buffer into the
program) - let me know if you want a copy.

Best regards,
Carsten Flensburg
 
----- Original Message ----- 
From: <owner-mi400@midrange.com>
To: <MI400@midrange.com>
Sent: 28. februar 2001 11:07
Subject: Generate a screen print like "Print-Key"- Function




Hi all,

I was looking for a possibility to generate a screen print like "Print-Key"
-
Function.
First I have made a screen print using the "Print-Key" on the keyboard.
Then I have examined the resulting Spoolfile with the API  "Get Spooled
File
"  (QSPGETF)
to find out the name of the program that opened the file.
I found QCLCLCPR in QSYS. I found this program also in the "System Entry
Point Table" and it's domain attribut is "*USER".
My conclusion, it's an API and I can call it from my "User-State"-programs.
But there is no documentation in the API-Reference over it  and I don´t
know
what kind of parameters I have to pass to this program.

Does anyone know how to find out the attributes of the parameterlist for
such a program ?

Thanks in advance,
Michael Steibert, Germany
+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---


+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---
+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.