• Reading (EVAL) a file in RPG

    Hi, I'm a newbie when it comes to RPG and I couldn't find anything when searching. So this is what I need.  I'm adding a record to a file but don't want any duplicates so I guess I need s simple RPG proogram that takes in one parm, reads a file (with one field) and if it comes across an exact...

    Bggas400160 pointsBadges:
  • Data Extract

    What is the easiest way to extract data from a pipe-delimited text file?

    farmgirl165 pointsBadges:
  • tutorials

    hi all. i wanted to ask if anyone knows any sites where i can download free ebooks or free tutorials. thx.

    Mmm5550 pointsBadges:
  • Subtracting Date/Time AS400 V5R4

    I am familiar with the subdur command. I have used it to get the # of days between 2 dates and the number of minutes between 2 times. How do I get the difference in minutes when the times fall on separate days. I guess I need to know how to calculate the interval between 2 times when the dates are...

    GHENDER190 pointsBadges:
  • Can RPG call a VB script

    I know very little about anything on a PC. Is there some kind of interface that could be used to execute a VB script which performs a function which returns a parm and get that parm returned back to the RPG pgm.

    CoderHal360 pointsBadges:
  • Difference between converting rpg/400 pgm to rpgile

    i have some 30 pgms in rpg/400 and a service program which i want to change this to rpgile and i have access of service program also. then what is the difference between this pgm now

    chakramdhar65 pointsBadges:
  • RPG 3 duplicate record error handler

    The physical file has a field keyed and unique. If i want to update these to RPG 3 program it is showing a duplicate record error. Does anybody have solution? tell me the command to handle this error only for RPG 3.

    Shankey5 pointsBadges:
  • Overflow in RPG

    How will u specify overflow in RPG program without indicators?

    TRam130 pointsBadges:
  • Receiving result sets in RPG (prior to release 7.1) from an SQL SP

    I have read through the IBM manual "Stored Procedures, Triggers, and User-Defined Functions on DB2 Universal Database for iSeries" for information related to returning a result set(s) from a stored procedure into an RPG program. The manual states that a Global Temporary table must be used for this...

    MapleLeafDeveloper5 pointsBadges:
  • Can you embed SQL statements in RPG program

    I am new to AS/400 and we have a project wherein we have to display the records grouped by some fields. Is it possible to write sql statements within RPG program?? How???

    Shwesmile20 pointsBadges:
  • Trying to run remote command to view AS/400 UNC and failing!

    I need some ideas here...I'm stuck. I'm running an RPG program that builds some CSV files for our accounting department. Because they love Excel, I had to make it so that the program breaks the data up into separate CSV files so as not to exceed 65,535 rows. Anyway, I am saving the stream files...

    Koohiisan5,020 pointsBadges:
  • Wierd messages in ISDB

    Hi, I have an elaborate program stream that starts with a CL which calls an RPG program that builds an OPNQRYF statement and selects records. After that, there are 9 RPG programs, one of which I’m trying to debug using ISDB. When I try to step through the RPG program, I receive a group of message...

    Floyd02320 pointsBadges:
  • Advanced Trigger question for *insert *before to allow update of field value

    I need to update a field in a record being written prior to it being written. I want to do it with a trigger because many programs write and update this file. I have tried several things and the closest I have gotten is to do a *before *insert where I can see the values of the fields in the after...

    Dcdc5 pointsBadges:
  • Need help debugging RPG program

    John is trying to debug (STRISDB) a RPG program that has a ton of copy source in it. He said debug isn't working correctly; it seems to bounce all over the place. He said he made sure that the source and object match. Is there something special he has to do to debug RPG with copy source in it? --...

    MichelleDavidson435 pointsBadges:
  • Who is using an AS/400 file

    I want to clear a file in RPG, but find that it is in use. How can I determine, programatically, what user(s) is locking the file?

    Jck5 pointsBadges:
  • About Program Described input files

    hi all, Can anyone explain me what is meant by Program described input files and what is the use of this files compared to Externally Described files and please give one complete example program of using Program described files with I SPECS and explain me about Record identification codes

    Mohan K695 pointsBadges:
  • Link for download subfile programming in RPG ILE

    HI , i am working on ile rpg , & i just started to work on subfile programming . i want to lean subfile programming because i didn't work on it yet. i dont have any source like any document . i have downloded a pdf file for subfile programming its good but it is only For RPG not for ile. does it...

    Ambrish 82310 pointsBadges:
  • RPGLE arrays

    Please provide me the solution or at least a hint to this problem. Lets Suppose I have an array having 4 elements ( A, B, C, D). I would like to have all the possible combination of the 4 elements with no repetition (i.e. in mathematical terms 4C1 + 4C2 + 4C3 + 4C4 = 15). How can we do this in...

    BrentSheets6,925 pointsBadges:
  • Debugging an RPG module thru STRDBG

    Hi, As fate will have it one of our programmers did the majority of his code as modules. He passed away and now the code needs to be changed. He left no notes or comments on how he compiled things (e.g. if he used bound directories, etc) No one in the department has any knowledge of modules. I have...

    NYRANGER245 pointsBadges:
  • How To get The Cursor position on particular field?

    My display File Contains three Fields as like name= ........  Roll =........  Marks=.......  But In that Case when Program Call, First Cursor Pos On name When Name Will Enter Roll No will Automaticalyy Disply. But I have To Modify Marks Field,,, So When I will Enter Name After That I want To...

    Sms121185 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