Search found 17 matches

by vhamberg
Thu Apr 24, 2025 12:06 pm
Forum: General
Topic: Multiple input areas on a COBOL screen
Replies: 1
Views: 9121

Re: Multiple input areas on a COBOL screen

I wonder if you can use UIM panel groups in COBOL - there are 4 kinds of "areas" in UIM = User Interface Management - LIST, DATA, MENU, and INFO. I believe I read in the Application Display Programming manual that you can have more than one at a time on the screen.

That manual can be found at http ...
by vhamberg
Fri Jul 19, 2024 2:44 pm
Forum: General
Topic: How to get job details which is there in QSYSOPR
Replies: 16
Views: 82100

Re: How to get job details which is there in QSYSOPR

Welcome to the IBM i. It seems you might be new to the system.

I am not sure what you mean when you say a job is "...in QSYSOPR...". QSYSOPR is a user profile or it is a message queue. I will assume you mean the message queue. And you must mean there is a message about a job in the QSYSOPR message ...
by vhamberg
Fri Jun 21, 2024 3:45 pm
Forum: General
Topic: PL/i to RPG or Java ?
Replies: 2
Views: 22952

Re: PL/i to RPG or Java ?

Hello

I think it depends on the kind of applications you have in PL/I, as well as which database you are using.

Is this on IBM i?
Are they business applications?

If that is the case, I suggest RPG is better, since it is native on IBM i, and it is designed to work directly with the relational ...
by vhamberg
Fri May 03, 2024 10:28 pm
Forum: CL
Topic: Prototype CL subprocedure in a service program
Replies: 2
Views: 170560

Re: Prototype CL subprocedure in a service program

Every CLLE module has exactly one procedure, named the same as the module name. I have never done this but have to think that dcl-pr would include EXTPROC with the name of the module (same as its procedure) in it.

When you create a CLLE module, do a DSPMOD and look at what its procedure exports are ...
by vhamberg
Sun Apr 21, 2024 11:34 am
Forum: RPG IV
Topic: MCH3601 unmonitored by HTTPAPIR4
Replies: 7
Views: 65263

Re: MCH3601 unmonitored by HTTPAPIR4

What is the message text? And if you have the job log, it would help to see the messages that come before the MCH3601.
by vhamberg
Tue Jan 23, 2024 4:38 pm
Forum: General
Topic: copy file txt
Replies: 3
Views: 19677

Re: copy file txt

We need to know more about what you want to do.

Where is the txt file you want to copy? On the IBM i or on a Windows computer? (I assume you are using Windows.)

What is the character encoding (a number on IBM i called CCSID) of the txt file? Is it Unicode (UTF-8)? Or is it ASCII? If it is ASCII ...
by vhamberg
Tue Oct 10, 2023 11:09 am
Forum: General
Topic: QUSRJOBI Returns Invalid Internal Job ID
Replies: 1
Views: 19129

Re: QUSRJOBI Returns Invalid Internal Job ID

Hi Mike

Please send in more details - what are you getting, and what do you expect it to be? Internal job ID is a 16-character value, not the same as the job/user/number we see externally.

Cheers
Vern
by vhamberg
Tue Jul 18, 2023 11:14 am
Forum: FTPAPI
Topic: 550 The semaphore timeout period has expired
Replies: 7
Views: 94496

Re: 550 The semaphore timeout period has expired

Correction to my post - the ftp variable is the connection - but you can get the error message if the result of calling ftp_get is less than 0.
by vhamberg
Tue Jul 18, 2023 11:11 am
Forum: FTPAPI
Topic: 550 The semaphore timeout period has expired
Replies: 7
Views: 94496

Re: 550 The semaphore timeout period has expired

As I recall, functions in FTP_API return error information - ftp_get certainly does. This is an example from EX3GET -

if ftp_get(ftp: 'fips.exe': '/fips.exe') < 0

The parameter ftp has the code, and you can get the message.

So I would use that parameter to catch the error.

Hope this helps with ...
by vhamberg
Thu Apr 13, 2023 6:22 pm
Forum: General
Topic: Printing from IBM i with Images
Replies: 3
Views: 17089

Re: Printing from IBM i with Images

One way of printing images is to use the AFPRSC keyword in the PRTF - your PRTF has to be *AFPDS type. You should be able to find documentation and examples for it pretty easily.