RPG Questions


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
asked by:
Cev
105 pts.

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
asked by:
1,025 pts.

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
asked by:
15 pts.

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
asked by:
5 pts.

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
asked by:
80 pts.

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
asked by:
1,025 pts.

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
asked by:
5 pts.

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
asked by:
125 pts.

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
asked by:
5 pts.

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
asked by:
Rsh
25 pts.

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
asked by:
25 pts.

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
asked by:
TLT
15 pts.

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
asked by:
Cev
105 pts.

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
asked by:
Cev
105 pts.

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
asked by:
1,150 pts.

useropen
Hi, What is the purpose of USROPN keyword?

Answer Question   |  May 20, 2011  10:06 AM
RPG, RPGLE, USROPN
asked by:
20 pts.

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
asked by:
310 pts.

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
asked by:
5 pts.

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
asked by:
695 pts.

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
asked by:
310 pts.