READE,*LOVAL SETLL
In what condition we have to use ,READE,READ,REAC and *LOVAL SETLL?
Answer Question
| August 27, 2008 1:17 AM
LOVAL SETLL, READC, READE, RPG, RPGLE
In what condition we have to use ,READE,READ,REAC and *LOVAL SETLL?
RPG
I have failed to find the difference between ELAV(R), EVAL(M) and EVAL(H).Please help me to find the difference with one example
Answer Question
| August 26, 2008 4:33 AM
EVAL(H), EVAL(M), EVAL(R), RPG
I have failed to find the difference between ELAV(R), EVAL(M) and EVAL(H).Please help me to find the difference with one example
SNDPGMMSG, Creates the message as part of Job Log but does not display it all the time
SNDPGMMSG MSGID(&MSGID) MSGF(ERRMSGC) MSGDTA(&MSGDATA) I have added some new code to some old programs and am getting some strange things happening. I create a Cl as indicated above that I call in my RPG?? Program to display and added a Message subfile (*ind58, to control the display) to the Display File to handle the programmed [...]
Answer Question
| August 29, 2008 2:19 AM
MSGDTA, MSGF, MSGID, RPG, RPG/360, SNDPGMMSG
SNDPGMMSG MSGID(&MSGID) MSGF(ERRMSGC) MSGDTA(&MSGDATA) I have added some new code to some old programs and am getting some strange things happening. I create a Cl as indicated above that I call in my RPG?? Program to display and added a Message subfile (*ind58, to control the display) to the Display File to handle the programmed [...]
Is it possible to detect which keyboard key has been used (keyed) on a specific display field?
Is it possible to detect which keyboard key has been used (keyed) on a specific display field? The display field (input/output) with type numeric with decimals. I want to know when the user has used the “comma key”.
Answer Question
| August 25, 2008 2:55 PM
RPG
Is it possible to detect which keyboard key has been used (keyed) on a specific display field? The display field (input/output) with type numeric with decimals. I want to know when the user has used the “comma key”.
Looking for good AS400/RPG-XML translator software package
Looking for a good, robust, easy to learn AS400/RPG-XML translator package for importing and exporting from AS400. Recommendations very much appreciated. Thanks, Alex
Answer Question
| August 25, 2008 2:34 PM
RPG, XML, XML Generator Package
Looking for a good, robust, easy to learn AS400/RPG-XML translator package for importing and exporting from AS400. Recommendations very much appreciated. Thanks, Alex
Reade in ile
DEmpnoo S 2 0 Inz(12) C *Loval Setll Emplf C Empnoo Reade Emplf C Dow Not %Eof(Emplf) C Empno Dsply C Empnoo Reade Emplf C Enddo Here emplf is logical file keyed with emp no Data in emplf EMPNO EMPNAME 11 test11 12 test12 13 test14 14 test14 15 test15 setll *loval points first record [...]
Answer Question
| August 21, 2008 6:57 AM
Read Equal Key, READE, RPG, RPG ILE
DEmpnoo S 2 0 Inz(12) C *Loval Setll Emplf C Empnoo Reade Emplf C Dow Not %Eof(Emplf) C Empno Dsply C Empnoo Reade Emplf C Enddo Here emplf is logical file keyed with emp no Data in emplf EMPNO EMPNAME 11 test11 12 test12 13 test14 14 test14 15 test15 setll *loval points first record [...]
How to transfer source code from AS/400 to PC to CD.
What is the quickest way to transfer multiple RPG and DDS source code members from an AS/400 to a PC and then to a CD.
Answer Question
| August 20, 2008 2:26 PM
DDS, RPG, Source code, Source code management
What is the quickest way to transfer multiple RPG and DDS source code members from an AS/400 to a PC and then to a CD.
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
Answer Question
| November 5, 2008 11:15 PM
Embedded SQL, iSeries, RPG, RPGLE, RPGSQL
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
Printing pre-document from RPG
WE currently have a preprinted rental aggreement the we print a on one side and the other is pre-printed with out terms and conditions. We need to be able to print this terms and agreement side on a non-preprinted form. Does anyone know a way we can print this pre-printed document from an RPG program, [...]
Answer Question
| August 18, 2008 5:32 PM
Printing, RPG
WE currently have a preprinted rental aggreement the we print a on one side and the other is pre-printed with out terms and conditions. We need to be able to print this terms and agreement side on a non-preprinted form. Does anyone know a way we can print this pre-printed document from an RPG program, [...]
text search using rpg
I am trying to create a method to search for a text stream that may exist in the file using RPGIII
Answer Question
| August 18, 2008 9:05 PM
RPG, RPG III
I am trying to create a method to search for a text stream that may exist in the file using RPGIII
RPG DUMP opcode produces no output in Apache CGI programs
We have a standard *PSSR subroutine for our ILE RPG programs that includes the DUMP opcode. It works fine except in CGI programs where no dump is produced when the *PSSR subroutine is executed. Does anyone know why this is?
Answer Question
| June 11, 2009 2:56 PM
Apache, CGI, RPG, RPGILE
We have a standard *PSSR subroutine for our ILE RPG programs that includes the DUMP opcode. It works fine except in CGI programs where no dump is produced when the *PSSR subroutine is executed. Does anyone know why this is?
Error message coding
how to do the coding to check the data (email address)that the first char must contain @ by using movel? for example: if user key in abc.yahoo.com error massage will show but if user key in @yahoo.com the data is correct.
Answer Question
| August 14, 2008 7:15 AM
MOVEL, RPG, RPGLE
how to do the coding to check the data (email address)that the first char must contain @ by using movel? for example: if user key in abc.yahoo.com error massage will show but if user key in @yahoo.com the data is correct.
AS400-Array
i am doing the coding to check the email adress,eg:try@yahoo.com.after the character @,means(@yahoo.com),the rest of the characters called email domain.How to extract the email domain from the email address input by the user by using array and to check whether the user key in the email domain?
Answer Question
| August 14, 2008 6:45 AM
RPG, RPGLE
i am doing the coding to check the email adress,eg:try@yahoo.com.after the character @,means(@yahoo.com),the rest of the characters called email domain.How to extract the email domain from the email address input by the user by using array and to check whether the user key in the email domain?
Array of AS400
Does anyone know how to use “lookup” in Array?
Answer Question
| August 14, 2008 4:05 AM
LOOKUP/XFOOT/MOVEA operations, RPG, RPGLE
Does anyone know how to use “lookup” in Array?
QCMDEXC
Hi, i have built a small application using CL to convert date to required format. When i want to accomplish the same from RPGLE program with a display file to input date i wanted to call CVTDAT command from the RPG program. But i am geting error saying this command can’t be issued in this [...]
Answer Question
| August 13, 2008 10:39 AM
CL/400, CVTDAT, QCMDEXC, RPG, RPGLE
Hi, i have built a small application using CL to convert date to required format. When i want to accomplish the same from RPGLE program with a display file to input date i wanted to call CVTDAT command from the RPG program. But i am geting error saying this command can’t be issued in this [...]
useropen
Hi, What is the purpose of USROPN keyword?
Answer Question
| May 20, 2011 10:06 AM
RPG, RPGLE, USROPN
Hi, What is the purpose of USROPN keyword?
what is field reference file
hi, all i m working on RPGILE ,please tell me what is field reference file , what is use of it, please give any example.. thanks Ambrish
Answer Question
| May 29, 2012 7:42 AM
Field Reference File, RPG, RPGILE
hi, all i m working on RPGILE ,please tell me what is field reference file , what is use of it, please give any example.. thanks Ambrish
numeric to text in RPG III
I have 3 numeric fields that I want to put together into one text string with leading zeros removed, like below: x=17 y=100 z=23 desired result: 17,100,18 as a text string How can I do this in RPG III? Thanks
Answer Question
| August 29, 2008 12:27 PM
RPG, RPG III
I have 3 numeric fields that I want to put together into one text string with leading zeros removed, like below: x=17 y=100 z=23 desired result: 17,100,18 as a text string How can I do this in RPG III? Thanks
How can we get Source Code for BUILT IN functions
hi, Can anyone help me how can I get source codes for builtin functions and i want to implement some of functions like(BUILTIN) for my personel improvement in RPGLE
Answer Question
| August 7, 2008 8:30 AM
RPG, RPG ILE, RPGLE
hi, Can anyone help me how can I get source codes for builtin functions and i want to implement some of functions like(BUILTIN) for my personel improvement in RPGLE
how many programmes are using any perticular database file in as400
hi all, i m working on rpgile,if i have a logical file & i want to know list of programmes that r using that logical file ,what should i do? is there any command ??? thanks
Answer Question
| November 26, 2010 4:56 AM
AS/400 database, Logical File, RPG, RPGILE
hi all, i m working on rpgile,if i have a logical file & i want to know list of programmes that r using that logical file ,what should i do? is there any command ??? thanks





