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...
Announcement
Collapse
No announcement yet.
Search Result
Collapse
77 results in 0.0029 seconds.
Keywords
Members
Tags
-
Serialize data structure to JSON
-
CREATE FUNCTION (External) - Which Subprocedure?
Something I'm not clear on - In reviewing the syntax for CREATE FUNCTION (External), I know I can specify that the external procedure to be run is a subprocedure in a service program, and where to specify the service program.
However, I don't see where to specify the name of the actual...
-
CSV file with double quotes
Hi,
I have a tedious problem at hand:
A user drops a .csv file into a network folder that is mapped to the IFS. My task is to get this data into a PF so a program can parse it out to another file for processing.
I tried CPYFRMSTMF - many attempts and many issues and after some...Last edited by jamief; December 14, 2018, 08:32 AM.
-
YAJL Array Elements - 0,1,2, or 1,2,3
If I want to access the first element of a JSON array using Scott Klement's YAJL port from RPG, does YAJL index the array from 0, 1, 2... or from 1, 2, 3... ?
In other words, for example, if I want to use yajl_array_elem (or yajl_object_elem for the first item in a JSON object) to get the...
-
Remote Journaling
So lets say I have 2 AS/400's. I journal on the production system. I want to access the journal on the development machine sometimes. I just want to do the basic dspjrn to a file but run the command on the dev machine against the productions journal . Is this possible without a 3rd party tool?
-
Read through file names - IFS
I need to write a bit of code that reads the file names (not the actual file itself) from an IFS directory, so I can store this in a DBF.
How do I go about doing this? Can anyone show me any examples?
Thanks,
-
Integer To Hex
I am needing a really simple way to convert an integer to ASCII hex in RPG.
-
DataStructure SORT on two different fields.....
So I have a Data structure array. I can sort on one field using the SORTA command with %subarr. Can I add another field WITHOUT combining the two fields together in a one field sort? To basically sorting on two fields or three etc..... Again without combining into one field. If I can in SQL do you...
-
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...
-
How to share 1 Display File tomany RPG program?
I am new with RPG can u guys help me to solve the problem I encountered.
Is there any way to share all the DDS field, let say i modify the DDS field in RPG 1, and RPG 2 able to know the changes
-
RPGLE source codes/ samples
I'm new to RPGLE.
What is the best website for learn RPGLE with examples from the begining.
Thank you.
-
Journals from one system to another
So I have been doing Journals forever and using them to see what has happened to a file etc. We have a production system that has journaling turned on. What I want to do is extract specific files ( I already know how to do all that ) to the test system. I can do this by extracting the production...
-
Mark Ryan Estipona started a topic SQL0312 encountered because fields from externally described DS not usablein RPG/RPGLESQL0312 encountered because fields from externally described DS not usable
Hello,
I have a 4 subprocedures. I'm trying to SQL insert values unto a file (in createWorkDetailRecord) using values acquired from the other procs. I defined my DS globally (DS_SVWRD), and then locally in the 1st proc (lDS_SVWRD).. Here's my code:
DCL-DS DS_SVWRD ExtName('SVWRD')...
-
Error when accessing a File in Free Format
Hello All,
I am facing a weird error. I am reading a file in Free Format. I am using SETLL and READE. Then until EoF I am doing some processing. But the strange thing is that, even if there is only one record in this file, the processing is happening multiple times.
Could...
-
IBM Base64 API in RPG - apr_base64_decode procedure
I am trying to use IBM supplied apr_base64_decode in RPG. But the decoded string is ending up as garabage.
Please help me identify what I am missing. Is this due to the Arabic (420) CCSID of our IBM i machine and I need to perform proper conversion? Hoping for guidance.
...Code:00
Our Sponsors
Collapse
