You are on page 1of 4

1) How user profile is created? CRTUSRPRF 2) How will you limit user profile ASP or storage capacity?

In user profile there is parameter MAXSTG which is used to allocate the user the maximum size. The default value is *NOMAX. 3) How will you limit a user profile? In user profile there is parameter LMTCPB which is set to *YES, this will limit the user to command line. 4) How will you grant authorities or revoke authorities to a user profile? GRTOBJAUT. If the object is created as a private object or with the limited authority given to all users, the owner can grant more or less authority to specific users by specifically naming them and stating their authority in the Grant Object Authority (GRTOBJAUT) command. The owner also can withdraw specific authority from specific users, or from all users (publicly authorized and/or specifically authorized) by using the Revoke Object Authority (RVKOBJAUT) command or the Edit Object Authority (EDTOBJAUT) command. 5) How will you restrict a single user from submitting his or her job to a particular subsystem? ADDWSE, The workstation name or the workstation type should be specified in the subsystem description on the iSeries server. Use the Display Subsystem Description (DSPSBSD) command to see the workstation entries defined to the subsystem. 6) How many types of profile is their in iSeries and what are the authorities lying with them by default? What is the importance of those authorities? *USER At QSECURITY level 10 or 20, the user has *ALLOBJ and *SAVSYS authority. At QSECURITY level 30 or above, the user has no special authorities. *SECOFR At all levels of security, the security officer is granted the following special authorities: *ALLOBJ *SAVSYS *JOBCTL *SERVICE *SPLCTL *SECADM *AUDIT *IOSYSCFG

*SECADM At QSECURITY level 10 or 20, the security administrator has *ALLOBJ, *SAVSYS, *SECADM, and *JOBCTL special authorities. At QSECURITY level 30 or above, the user has *SECADM special authority. *PGMR At QSECURITY level 10 or 20, the programmer has *ALLOBJ, *SAVSYS, and *JOBCTL special authorities. At QSECURITY level 30 or above, the user has no special authorities. *SYSOPR At QSECURITY level 10 or 20, the system operator has *ALLOBJ, *SAVSYS, and *JOBCTL special authorities. At QSECURITY level 30 or above, the user has *SAVSYS and *JOBCTL special authorities. 7) What is job queue? What is the command to create it? CRTJOBQ.the jobs which has to be executed first it gets into jobque and then based on the priority it is executed in subsystem. 8) How many job queues can a subsystem have? Maximum of 9999 jobques can be attached to a subsystem. The subsystem first selects jobs from the job queue with the lowest sequence number. When all jobs on that queue have been processed or the number of jobs specified on the Maximum active jobs (MAXACT) parameter has been reached, the subsystem processes jobs on the queue with the next higher sequence number. This sequence continues until all job queue entries have been processed, or until the subsystem has reached its limit for overall maximum jobs. In some cases, the sequence is interrupted and the subsystem processes a job queue with a lower sequence number. This occurs for this subsystem when one of the following conditions occurs: A held job or job queue is released. A job is placed on or transferred to a job queue. A new job queue is allocated. A job ends. 10 A sequence number of 10 is assigned to this job queue. 1-9999 Specify the sequence number assigned to this job queue. The sequence number must be unique in the subsystem description. 9) What is subsystem? How it is created? Subsystem provides resources for the jobs to process.

IBM supplied SBSD are in libraries QSYS and QGPL, it is recommended not to change these. We can create SBS in two ways one is by copying the existing SBSD and change it or we can create an entirely new description. To copy an existing subsystem description: 1. On a command line, type CRTDUPOBJ, to create a duplicate object of an existing subsystem description. 2. Change the sign-on display file and the system part of the library list for the secondary language. To create an entirely new subsystem description: 1. Create a subsystem description (CRTSBSD). Specify a sign-on file from the national language version library and specify the national language version library (QSYSnnnn) as the system-library list entry. 2. Create a job description (CRTJOBD). 3. Add work entries to the subsystem description. a. ADDWSE (Add work station entry) b. ADDJOBQE (Add job queue entry) c. ADDCMNE (Add communications entry) d. ADDAJE (Add autostart job entry) e. ADDPJE (Add prestart job entry) 4. Create a class (CRTCLS). 5. Add routing entries to the subsystem description (ADDRTGE). 11) What is job description? How it is created? The job description can be used as the source for some of the job properties that tell the system how to run a job. The properties tell the system when to start the job, where to get the job from, and how the job will run. Job descriptions are used by autostart, batch, interactive, and prestart job types. You can use the same job description for multiple jobs. 12) What is routing entry? What is the command to create it? To reach remote networks, at least one routing entry is required. If no routing entries are manually added, your server cannot reach systems that are not on the same network to which the server is attached. You must also add routing entries to allow TCP/IP clients that are attempting to reach your server from a remote network to function correctly. 13) How will you find out the status of a particular user job? wrkjob (jobname) 14) How will you submit or schedule a job?

SBMJOB is the command to submit a job 15) How many types of jobs are their? Batch,Interactive 16) How will you work with a particular type of subsystem job? WRKACTJOB SBS(Subsystemname) 17) What is spool file? 19) How will you find out which job is taking much CPU and ASP%? Wrkactjob and place the cursor on the column CPU and press F16 and F18, this will arrange the job using more CPU.

You might also like