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



How about changing your rtnmodser program to write the information to a
one-record file in QTEMP. Then you can get that file via FTP, read the
record, and do whatever you need to do with the information.

Richard


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of James H H Lampert
Sent: Friday, May 07, 2004 1:46 PM
To: midrange-l@xxxxxxxxxxxx
Subject: PROBLEM WITH V5R3 -- Can anybody suggest a way to . . .


Would anybody happen to know of a way to determine model number, serial
number, number of processors, number of LPARs, and current LPAR through an
FTP connection?

We have a small program we upload ahead of the product in our web-based
installation utility, that retrieves that information (so a trial-period
authorization code can be automatically generated and installed) and puts
it into an escape message (using CPF9898), which was the only way I could
find at the time for a program to return its output through an FTP
connection.

It works beautifully on V4R2 through V5R2. I think it may also work on
V3R2. But on V5R3, it fails. Instead of

>> ftp> quote rcmd call rtnmodser
>> 550-Error occurred on command call rtnmodser.
>> 550 Model  170    Serial  1047YBM    Processors 1    LPARS 01
CurrPar 00
>>     ***************.
>> ftp>

It comes back with

>> ftp> quote rcmd call qgpl/rtnmodser
>> 550-Error occurred on command call qgpl/rtnmodser.
>> 550 Cause code is CPF9898; message text not available.
>> ftp>

Yet it works fine in a terminal session.

One thought: The original version (which only returned model and serial)
was in CL. I had to change to ILE C in order to return the additional
information. Is there anything I can do in C, that will produce output on
an FTP connection, that I couldn't do in CL?

--
JHHL



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.