| Other RPG400 Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| 1.The questions have given an array declaration and move
operation then this statement is correct or not? |
TCS | 3 |
| How to change the name of physical members Dynamically? |
| 1 |
| I need to generate outfile for object of all the user lib.
in the sysmte using cmd DSPOBJD.
But this cmd is correcpted in my server,Any body tell me is
there any alternative...? |
| 2 |
| 3. Given the DOS Specification below and the following
information:
• Indicator 50 is off
• No records have been written to the subfile
What will be the result if the EXFMT operation code is
performed on the record format CTLR?
A R SUBFL
A DESCRIP 101 6 1ODSPATR(UL)
A DFT(’NOT FOUND’)
A R CTLR SFLCTL(SUBFL)
A N50 SFLDSP
A SFLDSPCTL
A SFLINZ
A 67 SFIJEND
A SFLSIZ(13)
A SFLPAG(12)
A ACCOUNTNO 100 S 10
a.) Only AccountNo will display
b.) SUBFL will be initialized with 13 blank records
c.) An I/O exception error will occur
d.) The screen will display 12 records with ‘NOT FOUND’ |
IBM | 4 |
| what r drawbacks of OPM?
Why do we go for ILE RPG? |
| 1 |
| which MONMSG will give higher priority in CL program?
I know MONMSG are of two types. Program Level Monmsg and
Command Monmsg? |
| 1 |
| 1.Suppose my file has 10 fields and I want to make the 2nd
field Zeros in all records. And assume I have millions of
records and I dont want to read each record and update the
desired field with 0. Any other way to do this in one step
operation?
2. Assume my file has 100 records and I want to see only
first 10 records. Is this possible through LF?
3.I have 3 jobs A B and C. I want to submit B after
successful completion of A and want to submit C after
successful completion of B. Without using job scheduler or
job queue, how can i do that through CL program?
4.What is difference between Bind by copy and bind by reference?
|
Virtusa | 3 |
| HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION?
CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE? |
| 2 |
| 1.Are there any errors in the following statement?If so
then list them.DTAARA is a data area having a field EMP #
and EMPNO is a
field in the file EMPPF.Which has one record.
READ EMPPF
IF %FOUND(EMPPF)
IN DTAARA
EVAL EMP#=EMPNO
OUT DTAARA
ENDIF |
| 5 |
| How can i check the object existance in RPG program without
using QCMDEXC command. |
IBM | 6 |
| difference between
1:%found and %equal built function in detail with example . |
polaris | 2 |
| How to identify the object has compiled with the debug view as
*source without using STRDBG? |
| 1 |
| |
| For more RPG400 Interview Questions Click Here |