Announcement
Collapse
No announcement yet.
Search Result
Collapse
51 results in 0.0039 seconds.
Keywords
Members
Tags
-
Batch vs Interactive File I/O
I have a task to fix some rather strange RPG IV code that was written over 20 years ago which appears initially to be a set of fairly typical Display File screens with subfiles and options to access detail records (2=Change, 4=Delete, 5=Display, etc.). However in the background, some never-ending batch...
-
March 15, 2022, 09:28 AMThis topic by lcortesbsr has been deleted by mjhaston
-
Getting a MCH6206 Return Code 4 error
I got a MCH6206 "Commitment control resource limit overflowed. Return code is X'04'." in one of my batch jobs today.
The batch program opens 2 files in commitment control. File1 is opened for update under commit and File2 is opened for addition under commit.
The flow of the program...
-
Why REGEXP_COUNT returns a wrong value?
Hello all,
I'm puzzled why REGEXP_COUNT returns weird results, for example take this query:
PHP Code:select regexp_count('1','[A-Z]')
from SYSIBM.SYSDUMMY1
Regular expression [A-Z] means it accepts a letter from A to Z. But 1 is no letter, and the result of...
-
using QtmmSendMail in RPG Program
Merry Christmas All, thanks in advance for your help.
I am trying to use QtmmSendMail in an RPG program. The emails are not being sent.
The QMSF joblog shows: Message ID : TCP9676, Cause . . . . . : SMTP message forwarding was stopped because bad data was detected in...
-
Calling ICU APIs from RPG
I'm trying to call an ICU APIs from RPG but can't get it running and i think its due to parameter mismatch.
https://unicode-org.github.io/icu-do.../uidna_8h.html - API "uidna_IDNToASCII()"
My code looks like following:
Code:**free Ctl-Opt BndDir('QICU/QXICUAPIBD');
-
Calling ICU APIs from RPG
Hello *ALL,
I'm trying to call an ICU APIs from RPG but can't get it running and i think its due to parameter mismatch.
https://unicode-org.github.io/icu-do.../uidna_8h.html - API "uidna_IDNToASCII()"
My code looks like following:
Code:**free
-
How to compare 2 data structures field by field?
I would like to compare 2 DS field by field and capture the changed fields into an audit file. Below is the scenario -
User is provided with a display screen where he can change any of the 20 fields pertaining to a file. Say if the user changed 10 fields, I want to write 10 records into...
-
Serialize data structure to JSON
Hello,
recently my company has been using web services to decouple our very very old legacy system into more modern micro-services linked by API's. We have created a our own JSON parser to to tokenise the input JSON message string and map it to a corresponding data structure using the new...
-
Macinger started a topic Check Creation Date of Object on IFS drive to decide wether to delete or notin IFSCheck Creation Date of Object on IFS drive to decide wether to delete or not
Hey at all,
I've been looking the web for several days now without being able to find a satisfying answer to my problem.
Ideally I don't want to work with an API, and want to know if there is any functionality given within the iSeries.
I plan to have a CL programm checking our...
-
Canceling Interactive Programs
SO I have a similar post form way back when. However that solution will not work.. So I thought I would see if anyone else has an idea.
A user sits in a program for 10 minutes. I know this b/c we write out to a file with a timestamp and user id with a bunch of other goodies I would need to end...
-
Program to count spooled files
I have a database file XYZ which stores some specific spooled files. I want to write a program which read each row from XYZ and returns how many times this row (file) occurs in the spool.
I used the system API List Spooled Files (QUSLSPL) to extract all the spool files and count the number...
-
Edit code without changing source date
Hello. Is it possible at all, maybe there is a setting somewhere, to edit some lines of code without the source date changing? My scenario is that I'm working with free format and I put an if statement around a large chunk of code. I want to indent that all the code to keep it neat but I don't want...
-
Compiled Machine Interface
Hi everyone,
I just got a machine interface compiler working and was wondering if it was possible to reverse engineer programs to retrieve the MI source out of them.
I'm really into how compilers work and I generally learn better by example, which is why I asked.
...
-
DavidPatten started a topic How can I create an XML Digital Signature for use with in a SAML 2.0 Single Sign On?in RPG/RPGLEHow can I create an XML Digital Signature for use with in a SAML 2.0 Single Sign On?
I have the need to provide a link on a secure portion of our company web site that will enable employees to directly and seamlessly link and log-in to a purchased Software as a Service medical services partner. The trading partner uses SAML 2.0 for their implementation of Single Sign-on to their application....
Our Sponsors
Collapse