1.What is the Maximum field length we can declare in RLU??
2. What is the difference if your designing RLU using DDS
and using the option 19 for the RLU??

Answers were Sorted based on User's Feedback



1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your design..

Answer / ravi shankar porwal

1.Length of field defined in RLU may be in the following
range:
Alphanumeric field - 1-378
Numeric field - 1-31

2.when u use option 19 then u have to use the commond line
to design the screen. commonds like -
DR,CL,SD,VF,NP,DC,DF,CF,SP etc. and some basic function
keys to perform the operations.
whereas if u code through DDS(use option 2) then u can code
through the commond IPDP and can perform the operations by
specifying the appropriate keywords.

Is This Answer Correct ?    6 Yes 1 No

1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your design..

Answer / rahul chaudhari

Alphanumeric field - 1-255 ,I dont know about
Numeric.......

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

how can i retrieve the field name from display file at run time? Devendra Singh Tomar

3 Answers  


Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.

1 Answers   CTS, IBM, iGate,


Difference between creating a report using Printer file and WRKQRY(Query Report) ?

3 Answers  


how do you use commitment control in rpg?

0 Answers   IBM,


explain sflclr, sflend, sfldlt, and sflcsrrrn?

0 Answers   IBM,






Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.

1 Answers  


This is my Physical file 'EMPS' existing in library "TAMIL1" and its record format is 'EMPRCD" a)its source is R EMPRCD ENO 4 0 ENAME 10 EADD 10 b)The records present in EMPS are as follows ENO ENAME EADD 0001 tamil coimbatore 0002 kumar bangalore 0003 sunder bangalore 0004 arunkumar chennai 0005 pandi hyderabad 0006 santhosh hyderabad 0007 sasi salem 0008 kalai chennai 0009 suresh hyderabad 0010 vijay bangalore 0011 Arul chennai 0012 velu chennai 0013 khan bangalore 0014 praba chennai 0015 praba.p coimbatore 0016 anand ooty 0017 raja erode 0018 sankar erode 0019 vadivel namakkal 0020 anbu chennai 0021 Ajith mumabi c)now i want to select the 'ENAME' field records starting with 'S' for that i have created a RPG program its source code is PGM DCLF FILE(TAMIL1/EMPS) DCL VAR(&MYENO) TYPE(*CHAR) LEN(4) OVRDBF FILE(EMPS) SHARE(*YES) OPNQRYF FILE((TAMIL1/EMPS)) QRYSLT('ENAME *EQ %WLDCRD("S *")') READ: RCVF RCDFMT(EMPRCD) MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END)) CHGVAR VAR(&MYENO) VALUE(&ENO) SNDUSRMSG MSG(&MYENO) SNDUSRMSG MSG(&ENAME) SNDUSRMSG MSG(&EADD) GOTO READ END: CLOF OPNID(EMPS) DLTOVR FILE(EMPS) ENDPGM Is this coding correct sir,the program gets compiled,and if i call it it says query running but records are not displayed.please help me out

4 Answers   Virtusa,


Hi guys. Im in AS/400(RPGLE,CLP) from last 1 year.Now i wan to upgrade my Knowledge in AS/400. Suggest me some new fields & courses which falls under AS/400. Waiting for your quick Response.

1 Answers   Voltech,


Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?

2 Answers  


Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 Answers  


A pgm subroutine calling child subroutine, that child subroutine again calling parent subroutine, u have 1000 lines of code, with out debugging , how can u find that error??? Is there any command to find errors in pgm???

3 Answers   HSBC,


In how many ways a session/device error occurs,,, and what is the remedy for it?

3 Answers  


Categories