• Business days calculation in RPGLE

    Could you please some one help me, how to do the business Days calculation in RPGLE? For example I want to add the 6 business days to current date. I want to add the 6 business days to (1st March 2018) current date, it will be 9th March.

    venkateshh45 pointsBadges:
  • AS/400 Embedded SQL, RPGLE free format, compilation

    1. My Problem: I am not able to compile a RPGLE free format PGM with embedded SQL. 2. My simple basic code: exec sql select RAGNA from RPFAGE ; *inlr = *on ;  (RPGAGE is the PF name and RAGNA is one of the fields in PF RPGAGE PF contains 100 records) 3, Member type is SQLRPGLE 4. Compile command:...

    anandx625 pointsBadges:
  • Embed cursor inside subfile program

    How can I embed a cursor inside subfile program?

    sampathrsk15 pointsBadges:
  • Embedded SQL in RPG ILE

    I want to write a program that will retrieve any field(s)from any file on the iSeries. The only part I haven't figured out is how to code the fetch statement to populate variables that aren't known until execution time

    Jeffm135 pointsBadges:
  • Last three records from physical file using RPGLE

    How to retrieve last three records from a physical file using RPGLE

    Nanisuresh10 pointsBadges:
  • Duplicate Records in physical file using RPGLE

    How can I find duplicate records in a single physical file using RPGLE?

    Nanisuresh10 pointsBadges:
  • How can I check status of a file during debug?

    How would I be able to check the status of a file during debugging in AS/400? It's status: open/close.

    rajat01170 pointsBadges:
  • Design a new user sign up sign in screen in RPGLE

    How to design a simple login screen with id and password using RPGLE? Can you help with RPGLE code?

    sampathrsk15 pointsBadges:
  • %Found in READE

    Is it incorrect to use %Found with ReadE? I performed READE on a file with 4 keyfields and as there was no exact match found, resulted in EOF. However, I noticed that %Found() returned True. Is there a relation between %found and %eof function when used with ReadE opcode?

    sri8707145 pointsBadges:
  • Input capable fields in AS/400 database file

    This inquiry is regarding 'Usage' clause for physical and logical files (position 38). IBM manual says options in this position are: Blank, B, I and N. Here is a snippet of what I experimented unsuccessfully R RZ0101R1      F0 5A I      F1 5P 2O notice I and O in pos(38) This gives me an...

    anandx625 pointsBadges:
  • Creating an integer in RPGLE

    Looking for a way to create an integer in RPGLE in a way that is similar to the int command in Java. Is there anything like this?

    ITKE1,062,830 pointsBadges:
  • Performance issue with reading of AS/400 primary file

    My program reads primary file (which is join file basically) and generates report. This program runs in batch mode. Program was doing pretty well all these day. But from few month report generation takes more time. Note that no changes has been done in the program from past few years.

    AnjaliR70 pointsBadges:
  • Calling RPG program without Parameters

    1) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' accepts 3 parameters. But i need to call PGM 'B' without passing parameters. How to achieve this??? 2) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' doesnot accept parameters. But i need to call PGM 'B' with...

    0 pointsBadges:
  • Difference between EXTPGM and EXTPROC

    Could someone please let me know what is the difference between EXTPGM and EXTPROC? In which scenario EXTPGM is used and in which scenario EXTPROC is used? What are the limitations of EXTPGM over EXTPROC? If possible could you please let me know the difference with a sample program as an example....

    JSDHFKJHA335 pointsBadges:
  • AS/400 Physical file conversion to XML file

    Hi, I need to write an RPGLE program to convert an AS/400 physical file to an XML file. Does anyone have a sample code for it? Thanks in advance.

    Siri55 pointsBadges:
  • What the role of Indicators in RPGLE Programs

    How and why do we use Indicators in RPGLE Programs. Please explain below statement Fxxxxxx O E PRINTER OFLIND(*IN60)

    Anshan150 pointsBadges:
  • Program not crashing – MCH0603 error

    I am calling a RPGLE from CL program. RPGLE program tries to add records to a 100 element array. When the count reaches 101, I expect the program to crash with error MCH0603 (Range or subscript error). However, the program ends and I don't get an error message on screen. I have to check logs to...

    sri8707145 pointsBadges:
  • Update and write sample RPGLE program

    Hi all, I have two physical files pf1 and pf2 with three field student_id,name,marks. I want to Move the records from PF1 to PF2. If the Student_ID already exists in PF2 just update the record else write a new record in PF2.where student_id is key field in both physical file. Could anyone provide a...

    nabamita90 pointsBadges:
  • RPG /Free Local Data Area definitions

    I am trying to define the LDA with an external definition in RPG /free. Any help?

    Rstinsonindy15 pointsBadges:
  • How to disable hyperlinks/email addresses in a subfile on AS/400

    I created a RPGLE maintenance program on AS/400 with a subfile. In that subfile there is a field which contains email addresses, Even when the field is in output in the subfile, I can click on it and then I get a screen to create a new email for that email address. How can I prevent this? I only...

    MarjanMelsen15 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.

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