• How to convert a “Numeric-String” with ‘-’ sign and decimal places into pure “Numeric”?

    Dear AS/400 Lovers! I need to convert a string containing Numeric-value with two-decimal places into a "Numeric". Alternatively the string may contain a minus-sign('-') in the beginning of the numeric-string(e.g. '-4321007.86'). The result should be pure numeric i.e. -4321007.86 The string's total...

    svankipu560 pointsBadges:
  • SELECTION OF UNIQUE RECORDS FROM FILE USING SQLRPGILE CODE

    I HAVE TO DO THE BELOW STEPS USING SQLRPG,PLZ HELP TO HANDLE THE UNIQUE RECORDS : 1. Delete records from Production LFPRIPMH/D file and those policy numbers are available in LFPS402S (unique policy number) 2. Insert into Production LFPRIPMH/D files from Before migration image (LFPRIPMH/D), where...

    AS400RAHUL5 pointsBadges:
  • indicator position

    hi , i m working on rpgile, i want to know that what is the difference b/w different indicator position, like some times we put it on HI, LO, EQ. WAT IS DIFFERENCE

    Ambrish 82310 pointsBadges:
  • trim string values in rpg/400

    how to trim string values in rpg/400 or RPGILE OR CLP

    Bu60 pointsBadges:
  • RPQSQL / SQLRPG

    Any body please help Wanted to know the advantage and disadvantage using RPGSQL / SQLRPG I've heard that this is the new one its not only RPG but become one with SQL. Thanks in advance

    TG50 pointsBadges:
  • How to define two dimensional arrays in RPGILE

    I need to create an array that contains a code (2,0) and hrs worked (5,2) for that code. something like 01 2.3 4.3 5.6 7.0 8.0 02 5.0 6.0 7.0 7.0 6.5 I will then take this array and load a subfile to display on a screen. Thanks, John

    JAC260 pointsBadges:
  • RPG-XML

    Can anyone please help this poor guy... that's me...I need to know how to code on RPG/ILE to transfer XML code to the customer..Do I use flat files? Please help me..

    devan390 pointsBadges:
  • CGI Program Problem – Data Decimal Error

    We have a set of programs that were written a couple years ago. We recently recompiled one and we started getting the error RNQ0907 decimal-data error. There were no changes to the actual code in the program or modules that are bound to it. We restored the object from tape and it works fine, but...

    Willhud69205 pointsBadges:
  • Convert WRKACTJOB to DB file

    Hi, Is there any COMMAND OR API or any METHOD to put the result of WRKACTJOB to a database file and then read in a RPG...? There was a command "CVTWRKACT" but i m not able to find it now in my server.

    0 pointsBadges:
  • how to add a no. of blank-spaces in RPG/RPGLE

    Dear all AS/400 Lovers! I need to add a pre-determined number of blank-spaces to each field, before adding it to a big flat-string. I need to keep on concatenating different field-values to this big string. But the field-values comes as "trimmed" values. (i.e. in a 60-char-length address field, I...

    svankipu560 pointsBadges:
  • Problem with *READ Trigger Program

    Caller Program A Reads a record from File X. "After-Read-Trigger" kicks in and calls Program B. Program B changes the Read-Record's fields as per the required logic (I can see the modified trigger-buffer in debug).

    Ihabik60 pointsBadges:
  • Word document/PDF used as Help text

    I am wondering if anyone knows of a simple way to solve my problem. We are creating help text documents in word/PDF and want to use those as the help text when the user presses CMD-Help on the RPGILE programs. i.e. when user presses cmd1 for help they will get a nice documented helptext with...

    JAC260 pointsBadges:
  • AS400 menu opton security

    Hello I need to be able to set up security at the menu and menu option level so that I can limit users to specific menus and menu options based upon their user id. I would like to be able to do this thru a custom program written in CLLE or RPGILE. This program would be interfaced when the user...

    Piano520 pointsBadges:
  • UTC format which is basically the number of milliseconds since Jan 1 1970 convert in RPG

    Is there a straightforward way using rpg ile to convert the UTC date into ymd format

    Cymro5 pointsBadges:
  • how to ‘*’ in character field in RPGILE printer file

    i have a charecter fied in printer file( in rpg ile) and i want to fill it with  65 '*' 1 way is to move '***** .....*' is there any way to move 65  '*' in a single command , can we do it by edtword (as we know it can we done for numeric vclues) please tell me ...

    Ambrish 82310 pointsBadges:
  • window with a footer

    when outputing a window, how can I get a footer within that window?  

    jdw10 pointsBadges:
  • Data Access Layer in RPG

    Has anyone implemented a Data Access Layer in RPG-ILE, similar to what is discussed in these articles: http://www.itjungle.com/fhg/fhg072104-story01.html and http://www.itjungle.com/fhg/fhg011205-story01.html If so, can you share some of the positives and negatives of the experience? In hindsight,...

    johnpquinn5 pointsBadges:
  • How to update a service program into a program ?

    Using UPDPGM to bind a module into a program works fine.  Do I use this same command to bind a service program into a program (and just put it in the Module parm) ? Or is there another command similar to UPDPGM ? An older version of the service program is currently bound into the main program. I...

    aceofdelts1,870 pointsBadges:
  • Calculating hours worked from a time stamp

    Hi Everyone I work for a trucking company and all of the trucks have onboard computers with GPS tracking, recently the company decided to have the local drivers clock in and out on the OBC that way they also have the location of the unit when the driver clocks in or out. My question is they want a...

    Braz45 pointsBadges:
  • online course material for as400

    I am a beginner in RPGILE can somebody give me some online links to study  materials ,which covers  programming with sda ,rlu,seu tools of as400

    Peraj55 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