|
Put simply, APIs let you do OS400 functions directly from your HLL
program. Many times, functions that you write in CL can be
performed directly via an API (such as sending messages, checking
on the status of a device, sending a document as E-mail, etc..) and
will usually perform faster with better features and with more
reliability. Think of them as the subroutines that IBM uses to
perform OS functions and you'll be on the right track.
Learning API programming can be a real hair pulling experience, as
the documentation for APIs is a little cryptic. But once you try it
a few times, you'll start getting the hang of it. Watch the
magazines for example code to get you started...
IBM supplies some rudimentary interfaces for some of the APIs.
These are generally found in library QSYSINC, and contains things
like data structures and parm lists.....
I don't have any books here besides softcopy, but I know some are
available for API programming....
eric.delong@pmsi-services.com
______________________________ Reply Separator _________________________________
Subject: RE: F9 Command Retrieval
Author: <MIDRANGE-L@midrange.com > at INET_WACO
Date: 12/23/98 2:26 PM
Okay, everyone has the right to a stupid question. Here is mine. I keep
seeing things about APIs. I have no idea what you are talking about.
Help!
----------
From: bvining@VNET.IBM.COM[SMTP:bvining@VNET.IBM.COM]
Reply To: MIDRANGE-L@midrange.com
Sent: Wednesday, December 23, 1998 9:29 AM
To: MIDRANGE-L@midrange.com
Subject: F9 Command Retrieval
Rajeev,
I don't know if this was previously mentioned, but rather than copying
or scanning the joblog there is the Retrieve Request Message (QMHRTVRQ)
API which provides several methods for retrieving previously executed
commands. The API can be found in the Message Handling APIs chapter of
the System API Reference and would not require periodic recopying of the
joblog or filtering on your part for non-request messages.
Bruce Vining
>
>Hi Everybody,
>
>Thanks a lot for replying.
>I got what I wanted.
>
>Moreover, for quick fix, there is command (Copy Joblog to
>Source)CPYJOBLOG command in TAATOOL which can copy commands entered on
>command line, to a source.
>One can use that source also.
>
>Thanks again,
>
>Rajeev.
>
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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 mailing list archive is Copyright 1997-2025 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.