Thank you very much.
I used it immediately and it worked like a charm.
Well I was not sure where to put my question.
The question was about the debugger and not directly about RPG even though
it was related to a RPG program.
Regards
Peder
Search found 35 matches
- Wed May 06, 2026 7:18 am
- Forum: General
- Topic: Number of elements for an array with DIM(*AUTO) in debug
- Replies: 2
- Views: 27430
- Tue May 05, 2026 6:54 am
- Forum: General
- Topic: Number of elements for an array with DIM(*AUTO) in debug
- Replies: 2
- Views: 27430
Number of elements for an array with DIM(*AUTO) in debug
If I have an array with DIM(*AUTO) how can I see the number of elements in debug?
dcl-s elmRtex like(elmRte_fixed) dim(*auto : 60000) ascend;
For example elmRtex is loaded with a lot of values but how many elements are there?
And yes, I know, I could put a statement in the source like this ...
dcl-s elmRtex like(elmRte_fixed) dim(*auto : 60000) ascend;
For example elmRtex is loaded with a lot of values but how many elements are there?
And yes, I know, I could put a statement in the source like this ...
- Fri May 01, 2026 10:31 am
- Forum: RPG IV
- Topic: IFS Write fails when using codepage 1208
- Replies: 8
- Views: 103469
Re: IFS Write fails when using codepage 1208
In the code you unlink the file test1202.txt
then you create a file test1208.txt
Could that be the reason to the error?
then you create a file test1208.txt
Could that be the reason to the error?
- Fri Jan 30, 2026 7:28 am
- Forum: RPG IV
- Topic: Trouble managing OVRDBF inside a program
- Replies: 3
- Views: 197219
Re: Trouble managing OVRDBF inside a program
You could try using the OPNSCOPE
Sometimes it helps
OVRDBF FILE(myFile) OPNSCOPE(*JOB)
Sometimes it helps
OVRDBF FILE(myFile) OPNSCOPE(*JOB)
- Mon Dec 15, 2025 7:40 am
- Forum: RPG IV
- Topic: Question about XML-SAX and option ccsid=ucs2
- Replies: 3
- Views: 207833
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?
- Tue Dec 09, 2025 7:50 am
- Forum: RPG IV
- Topic: Question about XML-SAX and option ccsid=ucs2
- Replies: 3
- Views: 207833
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 ...
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 ...
- Mon Oct 20, 2025 6:50 am
- Forum: General
- Topic: Reorganize spool file numbers in a job
- Replies: 2
- Views: 155681
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 ...
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 ...
- Fri Oct 17, 2025 9:14 am
- Forum: General
- Topic: Reorganize spool file numbers in a job
- Replies: 2
- Views: 155681
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 ...
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 ...
- Mon Sep 29, 2025 7:05 am
- Forum: RPG IV
- Topic: Detect CLRPFM action from other job
- Replies: 2
- Views: 210403
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 ...
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 ...
- Wed Jun 25, 2025 7:12 am
- Forum: HTTPAPI
- Topic: HTTPAPI 1.51 minor errors
- Replies: 2
- Views: 69010
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 ...
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 ...