Announcement

Collapse
No announcement yet.

Search Result

Collapse
62 results in 0.0054 seconds.
Keywords
Members
Tags
  • You can also choose from the popular tags.

rpgle x

  • Bull_A_
    started a topic Serialize data structure to JSON

    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...
    See more | Go to post

  • DougCMH
    started a topic CREATE FUNCTION (External) - Which Subprocedure?
    in SQL

    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...
    See more | Go to post

  • redvan
    started a topic CSV file with double quotes

    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...
    See more | Go to post
    Last edited by jamief; December 14th, 2018, 08:32 AM.

  • DougCMH
    started a topic YAJL Array Elements - 0,1,2, or 1,2,3
    in HTTP

    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...
    See more | Go to post

  • CaptainRon
    started a topic Remote Journaling
    in DB2

    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?
    See more | Go to post

  • code401
    started a topic Read through file names - IFS

    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,
    See more | Go to post

  • KevinStaples
    started a topic Integer To Hex

    Integer To Hex

    I am needing a really simple way to convert an integer to ASCII hex in RPG.
    See more | Go to post

  • CaptainRon
    started a topic DataStructure SORT on two different fields.....

    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...
    See more | Go to post

  • CaptainRon
    started a topic Canceling Interactive Programs

    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...
    See more | Go to post

  • newmoon961
    started a topic How to share 1 Display File tomany RPG program?

    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
    See more | Go to post

  • sampath
    started a topic RPGLE source codes/ samples

    RPGLE source codes/ samples

    I'm new to RPGLE.
    What is the best website for learn RPGLE with examples from the begining.

    Thank you.
    See more | Go to post

  • CaptainRon
    started a topic Journals from one system to another

    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...
    See more | Go to post

  • SQL0312 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')...
    See more | Go to post

  • AS400_newbie1
    started a topic Error when accessing a File in Free Format

    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...
    See more | Go to post

  • abalode400
    started a topic IBM Base64 API in RPG - apr_base64_decode procedure

    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:
    0001.00      H BNDDIR('BASE64':'QC2LE')                                  
    0001.01       /copy APR_B64_H                                            
    0001.02                                                                  
    0001.03      D BASE64DATA      s             70A   DIM(3) CTDATA PERRCD(1)
    0003.00      d decdata         s          32764a
    ...
    See more | Go to post

Our Sponsors

Collapse
Working...
X