Announcement

Collapse
No announcement yet.

Search Result

Collapse
70 results in 0.0447 seconds.
Keywords
Members
Tags
rpgle x
  •  

  • mgarczynski2
    started a topic Vary Configuration User Exit Program

    Vary Configuration User Exit Program

    I am looking for some examples of a exit program for the QIBM_QDC_VRYEXIT. Specifically, I want to start/stop my applications running on an iASP when the iASP is varied on or off. Any input would be helpful.
    See more | Go to post

  • John Tremper
    started a topic IFS Open - Authority Issue?

    IFS Open - Authority Issue?

    Hello, thanks in advance for any guidance. I am using the Open API in an RPGLE program (shown below), if the file is not in the IFS the open should create the empty file. We have 2 users where the FD returns as -1. Other users work correctly, FD returns as 0. All authorities appear to be identical...
    See more | Go to post

  • Luca Altmann
    started a topic Calling ICU APIs from RPG

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

  • Luca Altmann
    started a topic Calling ICU APIs from RPG

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

  • sri8707
    started a topic Sorting multiple DS fields

    Sorting multiple DS fields

    I have a DS defined as below -

    D MyDSArr DS qualified dim(999)
    D MyDsKey
    D field1 10A overlay(MyDsKey:*next)
    D field2
    ...
    See more | Go to post

  • Prepared SQL for Single Row into Data Structure; without cursor. Possible?

    I am attempting to use a prepared statement to fetch information (a single row) about a location; based on a given ID. The location ID is either passed via parameter, or directly entered and read from the display/user interface.

    I have tried stepping through the RDi debugger. I see the...
    See more | Go to post

  • castle123
    started a topic get first day of month and first day of prev month

    get first day of month and first day of prev month

    I'm sure this is on here somewhere I just cant find it, I need to get first day of month which I think is firstDay = todayDate - %Days(%subdt( todayDate:*days)-1);
    but if today is the first of month I need to get the prev month first day of month, the job I'm running uses previous day for its
    ...
    See more | Go to post

  • sri8707
    started a topic How to compare 2 data structures field by field?

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

  • 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 14, 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

Our Sponsors

Collapse
Working...
X