Search found 31 matches

by peder udesen
Mon Dec 15, 2025 7:40 am
Forum: RPG IV
Topic: Question about XML-SAX and option ccsid=ucs2
Replies: 3
Views: 57322

Re: Question about XML-SAX and option ccsid=ucs2

OK. So the example should not work for ucs-2 because it expects the data received ( element, attribute end data) to be a one character code in ebcdic?
by peder udesen
Tue Dec 09, 2025 7:50 am
Forum: RPG IV
Topic: Question about XML-SAX and option ccsid=ucs2
Replies: 3
Views: 57322

Question about XML-SAX and option ccsid=ucs2

Hi Scott

Based on an article in SystemINetwork on 14th May 2009 from you we have coded a program to reveive
and proces XML-files using the XML-SAX function.

In the xmlHandler procedure there is a select - endsl structure like this:


P xmlHandler B
D xmlHandler PI 10i 0
D ignore 1a
D event ...
by peder udesen
Mon Oct 20, 2025 6:50 am
Forum: General
Topic: Reorganize spool file numbers in a job
Replies: 2
Views: 43519

Re: Reorganize spool file numbers in a job

Originally the program was part of an application that was run interactively.
Then it was changed to also be run in batch.
At that time the batch job was shut down every saturday when the backup was taken.

And now the backup process has changed so nothing is shut down any more but runs 24x7.
The ...
by peder udesen
Fri Oct 17, 2025 9:14 am
Forum: General
Topic: Reorganize spool file numbers in a job
Replies: 2
Views: 43519

Reorganize spool file numbers in a job

I have an interesting little problem.

A job is running 24x7 and is generating spool files -- a lot of spool files.
The spool files are deleted after some time but the entry is still reserved.

That means that the spool file number increases over time and in about 3 months it will reach 9999 entries ...
by peder udesen
Mon Sep 29, 2025 7:05 am
Forum: RPG IV
Topic: Detect CLRPFM action from other job
Replies: 2
Views: 95554

Re: Detect CLRPFM action from other job

I have had a situation where records in a log file should be transferred to an archive file.

Originally it was done using CPYF and CLRPFM but due to the fact that the system now
is running 24x7 it was no longer possible. The log file could be open at any time.

Instead I made a program that read ...
by peder udesen
Wed Jun 25, 2025 7:12 am
Forum: HTTPAPI
Topic: HTTPAPI 1.51 minor errors
Replies: 2
Views: 59917

Re: HTTPAPI 1.51 minor errors

Well, normally I would have downloaded the SAVF but Google took me to
the FTP-section of your site. It was first after the installation I found the
right place :(

So I had a lot of problems uploading the sources via FTP from my PC due to security settings. [ Lot of nasty words :) ]

I fixed the ...
by peder udesen
Mon Jun 23, 2025 10:01 am
Forum: HTTPAPI
Topic: Object containing the password for the certificate store file not found.
Replies: 1
Views: 43912

Re: Object containing the password for the certificate store file not found.

We have located the cause.

It turned out that the *SYSTEM certificate store was corrupt.
After deleting it and creating it again everything worked like a charm.

Regards
Peder
by peder udesen
Fri Jun 20, 2025 11:40 am
Forum: HTTPAPI
Topic: Object containing the password for the certificate store file not found.
Replies: 1
Views: 43912

Object containing the password for the certificate store file not found.

I have just changed the server from http to https in my program.
It has worked OK as long as I used the http protocol.
Only the constant http://myServer in my program was changed to https://myServer and the program was compiled OK.

myServer is of course changed to use the https protocol.


Now I ...
by peder udesen
Fri Jun 20, 2025 11:26 am
Forum: HTTPAPI
Topic: HTTPAPI 1.51 minor errors
Replies: 2
Views: 59917

HTTPAPI 1.51 minor errors

I have just updated HTTPAPI to version 1.51 and have found some minor errors.

1) The version number is still 1.49.
2) The source EXAMPLE13 is marked as RPGLE -- it should be SQLRPGLE -- a typo in upload.bat
3) And final, not an error - The text describing the members is missing.

Regards
Peder
by peder udesen
Tue Apr 08, 2025 6:32 am
Forum: RPG IV
Topic: XML-SAX failed with error code 6
Replies: 3
Views: 134933

Re: XML-SAX failed with error code 6

Does anybody have a good idea how to handle this?