• RPG/400 – return parameters

    Since we can pass parameters to a RPG program using *ENTRY and PLIST, Is it possible for a RPG program to return back any values to the calling program? Suppose I want to have a module which checks if a year is leap or not, I am bound to have this as a Subroutine and not as a program being called...

    Vijesh Bhat70 pointsBadges:
  • Writing an MQ message

    I have to write a program that sends some data from MQ. I will read a data file process it, and then instead of populating a file and FTP'ing the file to a server. I need to send the data via MQ. How do I write the message to MQ, How do I set up the message length etc?

    Andy Mansell55 pointsBadges:
  • How to see a timeout in connect/send in AS/400?

    My team and I recently created a socket client in RPG that calls a Java server socket. However, the problem that we're running into is that connect()/sent() operations blocks and we have a requirement that if the connect/send couldn't be done in a matter of a second per say, we have to just log it...

    ITKE351,965 pointsBadges:
  • Service Program Parameters Written Directly to PF

    I'm taking an old RPG program that does all the writing of records to a PF & converting it to a service program. This should reduce the processing of these records considerably (no more opening & closing the file for each record). I've created the service program & tested it, the only problem seems...

    Adamdowen65 pointsBadges:
  • Job Schedule Entries Migration

    Hi All, We are migrating from an 820 to a new 550 i5 this weekend. Does anyone know how we can migrate the current Job Schedule Entries on the 820 to the 550? Is there an API to the database that holds the Job Schedule Entry details that we can use to extract the info and then push it into the...

    RaydenR0 pointsBadges:
  • Updating PF using simple RPG/400 code

    How can I update a PF using simple RPG code and please also explain with examples use of SETLL, CHAIN, SETGT, READC and SFNLXTCHG?

    6r1,590 pointsBadges:
  • SQL table in RPG

    I need to read an SQL table (file) in RPG and select certain records. I'm pretty green in SQL. Anyone have a sample they could share? I'm better at RPG than ILE but I'll take what I can get. Thanks!

    Brenger170 pointsBadges:
  • AS/400 – CL/RPG

    It's a general question, which data type supports for both numeric/decimal and character in CL/RPG? Please suggest.

    chowas400510 pointsBadges:
  • Printer files in RPG ILE

    How can we create and use printer files in RPG ILE. I'm new to AS/400 and I want to know about printer files and reports as my company asked me to.

    Rpgile25 pointsBadges:
  • Looking for good AS/400/RPG-XML translator software package

    Looking for a good, robust, easy to learn AS/400/RPG-XML translator package for importing and exporting from AS/400. Recommendations very much appreciated. Thanks, Alex

    DHLSameday185 pointsBadges:
  • AS/400, RPG job date

    Which one is current/system/job date? please clarify? *date %date()

    chowas400510 pointsBadges:
  • Flat file

    How to copy records from a file to flat file in RPG III

    Gill0075 pointsBadges:
  • OCUR opcode in RPG

    Hi all, Can any one define OCUR op code in easy words. If there is some example that would be great. Thanks in advance

    hunshabbir72,300 pointsBadges:
  • Upgrading system from V5R3 to V5R4

    Hi, I need to upgrade the system from V5R3 to V5R4. I need to know that are there any RPG , iLE, CL, Cobol commands that have changed. Which would require code change to incorporate the upgraded version. Can someone help me out how to find such commands?

    Anks15 pointsBadges:
  • Multi-lingual applications in AS/400

    How to convert an existing RPG application to support Multilingual and multicurrency?

    TRam130 pointsBadges:
  • Convert Excel file to AS400

    I have 'n' number of excel files . i need to convert them into AS400 and validate data . My problem is that all these files are in different formats (e.g. Excel 1 has Age, Name ,Salary fields; excel 2 has name , salary , company fields) to validate data I need these excel files to be converted into...

    SKapoor0 pointsBadges:
  • How to use XML in RPG

    Hi All, I want to know if its possible to FTP a file from RPG to any other systems using XML. More precisely, can we use XML to pull the data from RPG and feed it to other systems. If yes, appreciate if you can give some inputs or notes where I can find the complete process or code. Thanks.

    RPGPGM40 pointsBadges:
  • How do I retrieve the JOB/USER/NBR for a spool file generated by a GUI program?

    I have a GUI program which HAS to run interactively that generates a spool file. The HTTP job (Which is what I correctly retrieved using RTVJOBA & QUSRJOBI) is: Job: VOI User: QTMHHTTP Number: 303484 But the job that my spool file has is: Job: QPRTJOB User: <My user ID> Number: 303384...

    Orelalaith0 pointsBadges:
  • Free Format RPGIV

    Hello everybody, I am looking for complete reference for free format RPGIV, as I am new to free format. Please provide me a link/PDF for the same. Thanks, Samul

    Samule400160 pointsBadges:
  • How to fetch data from physical file using RRN value of a record?

    I want to fetch / read a record with given RRN value in RPG. How to read a record for which only RRN value is given, in RPG?

    Aum15 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