Mainframe AS/400 Interview Questions.
How do you set pointers to values 55 or next higher or greater?Answer : SETGT.
How will I explicitly open a file in an RPG program?
Answer : 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?
Answer : 9999.
How to fire a JOB?
Answer : SBMJOB.
How many levels of security are there on AS/400?
Answer : There are 10 to 50 level of security on AS/400.
How to translate field values form lower case to Upper case?
Answer : By using opcode XLATE.
What are the maximum parameters can be passed from one RPG program to another RPG program?
Answer : 255
What is the maximum length of an OCCUR?
Answer : 9999.
What is a subfile?
Answer : Subfile is a group of records which can be used for (Displaying, Adding new record, Modifying the existing record, and Deleting the
existing records).
What is maximum size of a subfile?
Answer : 9999.
How do you write and read a value (similarly as EXFMT of RPG) using a display file in CL?
Answer : SNDRCVF.
How do you display a screen in CL?
Answer : SNDF.
How to check end of file in CL?
Answer : Monitor the message ID (CPF0864).
Can you update a file in CL?
Answer : NO.
Can you add a record to a physical file through CL?
Answer : NO
What opcode is used for submit job? Why it is used?
Answer : SBMJOB opcode is used and it is used for background processing.
How do you monitor message in CL?
Answer : By using monitor message ID: (MONMSG MSGID (CPF0000)
Except report design what else can be done by O spec?
Answer : We can write a Physical File from O spec.
What is the full for of CA and CF?
Answer : Command Attention and Command Function.
Difference between WRKUSRJOB and WRKACTJOB?
Answer : 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?
Answer : File level, Record level, Field level.
What is *PSSR?
Answer : 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?
Answer : 40
How many maximum arrays can be used in a single RPG program?
Answer : 200.
How many maximum loops can be used in a single RPG program?
Answer : 100
How many maximum printer files can be used in a single RPG program?
Answer : 8
Why do we define MOVE *ON *INLR?
Answer : It frees the memory. All the fields and parameters in the memory will become blank.
How do you shutdown your IBM server?
Answer : PWRDWNSYS.
If your workstation does not show login screen what might be the problem?
Answer : Problem with some subsystem.
You have given a job for printing and you are not getting the printout what might be the reason?
Answer : 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?
Answer : Change the priority or change the job queue name.
Related Posts
No comments :