• RPGLE pgm to determine the last day for a month

    does anyone have an rpgle pgm that will return the last day of the calendar month if given the month and year.

    Mtspudgun45 pointsBadges:
  • I want to read a pf and build a corresponding SQL statement and save the statemnet in text file.

    how can i read pf ?as pf is colomn speciffic have to read pf like it will have feilds and some constraint, key, record. how can i build a corresponding SQL statement ? i m new in AS/400 but i have to submit this utility to my manager this thursday.. can anybody help me in providing some code for...

    0 pointsBadges:
  • Synon/Cool:2E – internal/external func performance question

    I have a situation where I have to call a synon function multiple times (for each record in a file one after another) from another synon function. The called function does some calculatons. Will there be any performance improvement if I make the called func an internal function and have an external...

    Rituraj0 pointsBadges:
  • RPGLE %CHAR strips off leading zeros

    Chan we stop %CHAR from removing the leading zeros?

    Coder10 pointsBadges:
  • How to automate getting the .CSV file from IFS folder to local desktop

    I am working on tool which extract the data from physical files based on some condition and creates a .CSV file in IFS folder. I want to automate the process to get the CSV file to local Desktop and should save the file in specified location in local system. Is there any way to open the .CSV files...

    Richapd5 pointsBadges:
  • No Source Showing

    When I compile my RPGLE source I do it with the *source for dubugging. I just noticed this was happening. Now when I try to do a display object descrition i do not get where the source was compiled from. ANy Ideas why? I need this ASAP. Thanks Source file . . . . . . . . . . . . : Library . . . . ....

    RonKoontz1,780 pointsBadges:
  • IFS Get list of files in a directory in RPGLE

    Need to retrieve into a RPG program a list of all files in a folder on the IFS. Can this be done?

    Gcnpkn5 pointsBadges:
  • Convert character field in decimal field.

    hi, everybody i need a help for this: waval = 15A wnval = 15 2 i put in my source this eval wnval = %dec(waval:15:2) but when i run the program stop with error in this line. what i need to do, because i want this example: waval = 123456789012345 wnval = 123456789012345.00 but if i put this: waval =...

    BUG68235 pointsBadges:
  • RPGLE – Provide One-to-Many mapping

    hi, I want to provide one-to-many mapping . consider 1 example, i have one-to-one mapping in Agent and Depot. bt i want, one Agent & Many Depot mapping. Means we can have one Agent with many Depot. using RPGLE or SQLRPGLE. I have one subfile where we can retrieve Agent, Agent name, and Depot from...

    23425 pointsBadges:
  • Mixed record format Subfiles

    I've been writing standard subfiles for a while now but I've seen some where, to me, it looks like the subfile has a mixed record format - i.e. a header and then a variable number of detail lines. (The fields are of different length and position in the header and detail lines). I'm writing an...

    Dave5945 pointsBadges:
  • Change AS/400 Library List for a Batch Job

    HI, Is there a way by which we can override the Library List for a batch job, when the job is active?

    PRIYAS40 pointsBadges:
  • What language “Next” from RPG(LE)

    Hi everyone; I took a hiatus as a stay-at-home mom and am just back into the programming world. 13 years experience - 8 year break - back 1 year. Pure AS400 (can't say iSeries yet) do use RPGLE (thankfully) understand free - used to be MAPICS guru (can't say Infor either). Do any of you use Java,...

    KSoniat610 pointsBadges:
  • CEERANO compiling

    Does CEERANO in RPGLE have to be compiled with any options like a special Activation Group or a Bound Service Program?

    Gmamoses5 pointsBadges:
  • How to add one Module to the existing Service Program

    Hi, I want to add or append one new module called 'C' to the already existing service program(SRVPGM) For Example: I have one service program called SRVPGM consits of 2 Modules are A, B. Now i want to add one new Module called 'C' to SRVPGM. how can i do this ?

    Mohan K695 pointsBadges:
  • Rpgle paramters from a Cl

    I have a rpgle program with parameters. I can watch the parameters change in the program. When I call the program from a Cl language the parameters come back blank.

    Curtiss10 pointsBadges:
  • Pass-Through API

    QPASTRPT- i can use this API to do Pass thru from one system to another, but i can't return any values back to the calling program thru this. is there any API for that ?

    PRIYAS40 pointsBadges:
  • Batch Program

    How can I Execute a RPGLE program in Batch after the IPL is fully loaded

    awan10 pointsBadges:
  • Bad performance in call command in RPGLE

    We are facing a bad performance issue when RPGLE pgm A is calling RPG pgm B. Pgm A is reading a file as primary that contains 1000000 records and for every record calls pgm B that is doing 1 chain to a file and if it's sucessfully updates another file and then RETURN (not with SETON LR) to pgm A...

    SAMANDI75 pointsBadges:
  • converting numeric field to a character field and show leading zeros

    I am using %char to convert a numeric 9 pos field to character for use in a larger out put field. My code looks basically like eval labelout - "4J'+lpart+%char(lexpire)+%char(lserl) Where lexpire and lserl are used in the labelout field, I need the leading zeros to show. Right now, they are being...

    Merts30 pointsBadges:
  • Using RPGLE indicators

    How can use i use indicators for hide the fields and lables in the display file.

    Annal5 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following