I am learning IBM i RPG programming and am stuck on displaying a subfile. I keep getting the error "Session or device error occurred in file". That is ...
I am learning IBM i RPG programming and am stuck on displaying a subfile. I keep getting the error "Session or device error occurred in file". That is ...
I am in search of an IBMi API that could validate existence of an address, I am not sure if there is any native IBMi API that can do this, since all m ...
I have a procedure that returns a data type of char/packed/date based on the input parameters. I was thinking of possible ways to use overload, but IB ...
1.an assignment operator is expected with the eval operation 2.a semi colon is not specified at the end of a free format statement 3.the name or indic ...
I am trying to find the file a program is using so I can write a query using its fields. How would I look at the programs files to see what it is usin ...
I'm trying to correct a specific customer type in our database from a character customer type of "05" to a character customer type of "09". I need to ...
A non-ILE Cobol program is calling and passing parameters to an RPGLE program. The Cobol passes a non-sorted area to RPG, RPG sorts that area with SOR ...
How to avoid having to use the Compile menu of RDi 2 times in a row - to create first a SQL RPGLE module and then to create the service program associ ...
I have this relatively simple rpg program where the line exec sql workKeySocWorkCodesCur for 500 rows into :childWorkKeyArray; is performing very slo ...
what is purpose of SQLPKG? How would I create one on the IBM i? when would I use one on the IBM i environment? Regards, Jemrug ...
I am having an issue with coding this, I need some similar code with this but written in RPG to count the digits in a number. NumField (15, 0) packed ...
I have a specific physical file. How do I get a list of programs that is using that PF. Is there any command (or native utility) in AS400 which can fe ...
I have issued a CL command in a RPGLE program using the QCMDEXC api. Suppose the CL command throws an error. Is there any way of capturing the error w ...
We have flat file which has html elements data. Program converting this data to .DOC using CPYTOIMPF and mail to the user. Office automatically conver ...
Eval Num = 1; Why do we prefer: Over: ...
I am trying to use QsyFindFirstValidationLstEntry in RPG, however despite being sure of the existence of the validation list I am getting error 3025, ...
There is a job that gets submitted. That job calls a program which creates a temporary file in its qtemp. Can someone tell me how to query that file i ...
I am trying to understand simple batch processing using RPGLE and DSPF members below is the code for both but the results look like this (The columns ...
So, I have got a job where fully free format RPG is used (even the D-Specs are in free). I am confused about the use of "*N" in various declarations. ...
Has anyone ever split or merged tiff image files using the “RPG” programming language ? I know it can be done using Java and libTiff but I need RPG to ...