Pf 1 file contain records below: Roll No Subject Marks 1 S1 100 2 S2 80 1 S1 60 2 S2 70 Another file PF2 Contain records below, Roll No Marks 1 180 2 ...
Thanks! We'll email you when relevant content is added and updated.
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.
Thanks! We'll email you when relevant content is added and updated.
As CRTJVAPGM is no longer supported (with V7R2), how should we create a Java program? I have some Java programs written in eclipse tool. My RPGLE procedures invoke the java programs. I want to debug the Java program, and hence like to create Java program in iSeries. Is that possible?
Thanks! We'll email you when relevant content is added and updated.
What is difference between Return vs *inlr in RPGLE? I have below scenario: PGM 1 PGM2 SOME LINES some lines CALL pgm2 Return some lines *INLR = *ON What will happen in the above scenario?
Thanks! We'll email you when relevant content is added and updated.
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:...
Thanks! We'll email you when relevant content is added and updated.
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
Thanks! We'll email you when relevant content is added and updated.
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?
Thanks! We'll email you when relevant content is added and updated.
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...
Thanks! We'll email you when relevant content is added and updated.
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.
Thanks! We'll email you when relevant content is added and updated.
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...
Thanks! We'll email you when relevant content is added and updated.
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....
Thanks! We'll email you when relevant content is added and updated.