How do you set pointers to values 55 or next higher or greater?
How will I explicitly open a file in an RPG program?
Ans:By defining UC in file condition and to opening the file mention OPEN opcode and closing the file by mentioning CLOSE in opcode of C spec.
What is maximum size of data area?
How to fire a JOB?
How many levels of security are there on AS/400?
Ans:There are 10 to 50 level of security on AS/400.
How to translate field values form lower case to Upper case?
Ans:By using opcode XLATE.
What are the maximum parameters can be passed from one RPG program to another RPG program?
What is the maximum length of an OCCUR?
What is a subfile?
Ans:Subfile is a group of records which can be used for (Displaying, Adding new record, Modifying the existing record, and Deleting the
What is maximum size of a subfile?
How do you write and read a value (similarly as EXFMT of RPG) using a display file in CL?
How do you display a screen in CL?
How to check end of file in CL?
Ans:Monitor the message ID (CPF0864).
Can you update a file in CL?
Can you add a record to a physical file through CL?
What opcode is used for submit job? Why it is used?
Ans:SBMJOB opcode is used and it is used for background processing.
How do you monitor message in CL?
Ans:By using monitor message ID: (MONMSG MSGID (CPF0000)
Except report design what else can be done by O spec?
Ans:We can write a Physical File from O spec.
What is the full for of CA and CF?
Ans:Command Attention and Command Function.
Difference between WRKUSRJOB and WRKACTJOB?
Ans:All the jobs in WRKUSRJOB are seen including Active jobs where as in WRKACTJOB only active jobs are seen.
What are the three levels of SDA?
Ans:File level, Record level, Field level.
What is *PSSR?
Ans:It is a system subroutine which is executed by default when any error occurs in a program.
How many maximum parameters can be passed from on RPG program to another CL program?
How many maximum arrays can be used in a single RPG program?
How many maximum loops can be used in a single RPG program?
How many maximum printer files can be used in a single RPG program?
Why do we define MOVE *ON *INLR?
Ans:It frees the memory. All the fields and parameters in the memory will become blank.
How do you shutdown your IBM server?
If your workstation does not show login screen what might be the problem?
Ans:Problem with some subsystem.
You have given a job for printing and you are not getting the printout what might be the reason?
Ans:Some more pending jobs might be there in Job Queue.
There are multiple jobs for printing in job queue and you want to print a important document then what will you do?
Ans:Change the priority or change the job queue name.