Please advice how to find out maximum and minimum values in particular filed using rpg/400.
Answer Question | January 16, 2009 7:37 AM
MaxField, MinField, RPG, RPG/400
Please advice how to get the duplicate records using rpg/400.
Answer Question | January 16, 2009 7:33 AM
Duplicate records, RPG, RPG/400
I am successfully using (external) stored procedures with many RPGLE programs. (Some of these are SQLRPGLE programs because they return a result set.) All of this works fine. But if I try to replace some of the RPG I/O in a RPGLE program with embedded SQL, creating a SQLRPGLE program, and run it as a [...]
Answer Question | January 15, 2009 10:09 PM
Embedded SQL, iSeries development, iSeries RPG programming, RPG, RPGLE, SQL, SQLRPGLE, Stored Procedures
I need to code a table in rpg iv. I’m new to rpg and need assistance on coding techniques as it pertains to creating a table in a rpg iv program
Answer Question | January 12, 2009 9:14 PM
RPG, RPG ILE, RPG IV
How can I find out , where I am in Intereactive mode or Batch mode in RPG ?
Answer Question | January 12, 2009 3:03 PM
RPG, RPG Batch Mode, RPG Interactive Mode
Hi I have created a flat file which holds the DSPLNK details of a text file that is dsplnk creates a splf which is copied to this flat file.This file is read for purging the text file once in 2 months.This happens on a daily basis and i have merged this piece of code with [...]
Answer Question | January 12, 2009 3:03 PM
RPG, RPG Flat Files
Hi I have called a program which would read the contents of the FTPLOG file member for successful transmission and sets an error flag ERR accordingly.Now i need to pass this value from the RPG to CL and use it to send a notification CALL PGM(FTPLOG) IF COND(&ERR *EQ ‘Y’) SNDUSRMSG MSG(‘FTP Transmission Failure,Please Transmit [...]
Answer Question | January 8, 2009 3:17 PM
CL, FTP, FTPLOG, RPG
Hi, I am using a data area in a RPG ILE program which will lock the data area and updates value. If the data area is locked, the program has to unlock the data area which is locked by the same user in any of his other session. Is it possible? If yes, please let [...]
Answer Question | January 13, 2009 9:54 AM
Data Area, Data Area Lock, RPG, RPG ILE
please advice me how to convert numeric field to character field in rpgile.
Answer Question | January 7, 2009 3:14 PM
Hi, I’m writing a program to process all the members in a physical file. I’ve done this using embedded SQL because the selection criteria is quite complex. The physical file belongs to an application which I can’t change, so I will always have to deal with multiple members. I also don’t have the possibility to [...]
Answer Question | February 5, 2009 12:56 PM
Embedded SQL, iSeries, OVRDBF, Physical File, RPG, SQL
Can you explain the terms with example BIND BY COPY BIND BY REFERENCE
Answer Question | January 5, 2009 7:40 AM
AS/400 development, Bind by Copy, Bind by Reference, RPG, RPGLE
Service Program contains 10 procedures. 5 Procdures in that service programs are defined with export keyword.5 Procdures in that service programs are defined with import keyword. i am calling the procedures from other ile program. How many procedures are available for me? How to hide the procedures in a service programs for other ile programs?
Answer Question | January 5, 2009 5:59 AM
AS/400 service program, RPG, RPG/400, RPGLE
How to end a job in MSGW how we can give in a program all the proces to give OPT-7 in front of a job which is in MSGW & giving ‘G’ to end that in RPGLE /CLLE progrm that too in a scheduled time
Answer Question | May 3, 2012 5:46 AM
CL, CLLE, Message Waiting status, MSGW, RPG, RPGLE, WRKACTJOB in AS400
I have a PF with some data in it which i am using in a RPG program. I got another text file with extra data related to PF in it. I have to add this data to the existing data in the PF, Please tell me how can i do this from my RPG program….advance [...]
Answer Question | January 5, 2009 6:15 PM
Physical File, RPG, RPG/400
can i call an rpgle prog from a cl by passing parameters from cl. Also how do i debug these two sources which are of different types.I am not able to use strisdb to link the modules.
Answer Question | January 4, 2009 1:13 PM
Calling an RPGLE program from CL, CL, CL Parameters, RPG, RPGLE, RPGLE Program
I have an RPG that uses alot of indicators for attributes like Position cursor and reverse image.How to effectively use these in a program instead of doing seton and setof everytime.I have come across arrays not sure if it can be used or can you suggest ways of making the program look much more structured.
Answer Question | January 4, 2009 10:29 AM
How to control overflow in RPG without using indicators. Is it possible?
Answer Question | December 29, 2008 8:47 AM
I have written a bound ILE CLP and RPG comand/program that will allow LIB/FILE.source transfers between two AS/400 systems and/or LPARS using FTP. It works fine with the exception that the source files are transferred with out the Descriptive TEXT. Does anyone know how to solve this dilemma? We are on V5R4M0.
Answer Question | December 23, 2008 3:20 PM
FTP, FTP Source File, ILE CLP, OS/400 TCP/IP, RPG, V5R4M0
Please check the below prgram and advice me how to send the data from APH(physical file) to Flate file SAAPH (flat file). FTRF is a datstructure created for send the data only this two fields in flat file. i am not sure how to club this data structre and flat file in programe. FAPH IF [...]
Answer Question | December 23, 2008 12:45 PM
Flat files, Physical File, RPG, RPG error handling, RPG/400, RPG/400 field validation
please advice me how to less 1 day from system date in rpgile. please send me the syntex.
Answer Question | December 24, 2008 8:54 AM
OS/400 System Date, RPG, RPG/400, RPGILE