| Other RPG400 Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the necessary command needed before OPNQRYF and why? | | 1 |
| If the last record of a file has been read, and the next
operation on that file is a READ operation, what will be
the values of the input fields for that file?
A. They will be blank and/or zero.
B. They will be null.
C. They will equal the values of the first record in the
file.
D. They will equal the values of the last record read.
| | 3 |
| in which journalling which attributes are necessary??/ | CTS | 1 |
| What is the purpose of FRCDTA keyword? | | 1 |
| The PGMA calls PGMB.PGMB generates a report.The report
should contain the called program name(PGMA).How do i get
the called program name in PGMB to print it on the spool
file?(calling program name should NOT be hard coded or
passed as parameter to called program? | | 5 |
| HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION?
CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE? | | 1 |
| Setps to create .csv file on IFS folder in AS/400(
V4R3)....? | TCS | 2 |
| What is the significance of UDATE? | IBM | 4 |
| What is the compilation option that has to he specified
while compiling an RPC program which uses a file having
date data type field? | IBM | 2 |
| how do u track msg in cl pgm??? | CTS | 1 |
| I have 1000 records in a file. I would like to generate 10
identical reports from this record with same format
(structure of records) how do I do this? | IBM | 1 |
| Hi,Please give me complete code with this logic.
The question is how to read the records from a file with
load an array of size with error condition?
(The logic is
Z-Add 0 IDX
*LOVAL SETLL FILE
READ FILE 99
*IN9 DOWEQ *OFF
IDX ANDLT 99
ADD 1 IDX
MOVE FIELD ARR,IDX
READ FILE 99
ENDDO)please give me complete code with
explanation? | | 1 |
| what are the parameters of jobd?give in detail.&what are
the parameters of subsystem...???? | CTS | 1 |
| To check the locks , we use cmd WRKOBJLCK , but how we
confirm whether it's objeck lock / member lock.
I confused with the Lock type and Status values...Can any
body please tell me ... | | 3 |
| How can you determine the number of characters in a variable? | | 1 |
| How do you code file / field renames in ILE RPG? | Accenture | 1 |
| Im traying to get out put of this below mention simple
logic code.But im geting out of different.(im trying with
my laptop trhough my company server.
DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400')
DCL &FIELD2 *CHAR 10
CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1)
Can you tell me the value of field2 after excuted of CHGVAR
command.
| | 2 |
| You have a *USE authority on a Library and *All authority
on a file in that Library.Can you change the data in that
file? | | 1 |
| Given the following code, what is the value of RESULT?
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++
D RESULT S 5 0
C EVAL RESULT = (2 + 3 * 2) ** 2 / 2
| | 2 |
| please help me answer to this question
what is the difference between the binding and srvpgm in
ilerpg? | HCL | 3 |
| |
| For more RPG400 Interview Questions Click Here |