Show List

Control Language/CL400 Interview Questions

  • What is CL400? CL400 is the command language used in IBM's AS/400, iSeries, and System i systems. It allows users to perform system tasks and execute programs.

  • What are some common CL400 commands? Common CL400 commands include WRKJOB, WRKACTJOB, WRKUSRJOB, WRKSYSSTS, WRKOBJ, DSPUSRPRF, and STRSQL.

  • How do you create a CL program? You can create a CL program using a text editor or IBM's Integrated Language Environment (ILE).

  • What is the difference between a compiled and an interpreted program? A compiled program is converted into machine code and executed directly by the processor, while an interpreted program is executed by an interpreter program that translates the code line by line.

  • How do you compile a CL program? You can compile a CL program using the CRTCLPGM command.

  • What is the purpose of the ADDDTAARA command? The ADDDTAARA command is used to create a data area, which is a location in memory that can be used to store and retrieve data.

  • What is the purpose of the CHGDTAARA command? The CHGDTAARA command is used to change the value of a data area.

  • What is the purpose of the RMVDLTOBJ command? The RMVDLTOBJ command is used to remove an object from the system, such as a program, data area, or library.

  • What is the purpose of the SNDMSG command? The SNDMSG command is used to send a message to a user or a group of users.

  • What is the purpose of the RCVMSG command? The RCVMSG command is used to receive a message that was sent to a user or a group of users.

  • What is the purpose of the RTVJOBA command? The RTVJOBA command is used to retrieve information about the job that is currently running.

  • What is the purpose of the STRDBG command? The STRDBG command is used to start the debugger, which allows you to step through a program and examine variables and data.

  • What is the purpose of the EDTF command? The EDTF command is used to edit a text file.

  • What is the purpose of the DSPF command? The DSPF command is used to display a screen file, which is used in interactive programs.

  • What is the purpose of the CHGUSRPRF command? The CHGUSRPRF command is used to change the attributes of a user profile, such as the password or the job description.

  • What is the purpose of the ADDJOBSCDE command? The ADDJOBSCDE command is used to add a job to the job scheduler, which allows you to schedule programs to run at specific times.

  • What is the purpose of the WRKSBMJOB command? The WRKSBMJOB command is used to display a list of jobs that are waiting to be run by the job scheduler.

  • What is the purpose of the SBMJOB command? The SBMJOB command is used to submit a job to the system, which allows you to run a program in the background.

  • What is the purpose of the ADDLIBLE command? The ADDLIBLE command is used to add a library to the library list, which allows you to access objects in that library.
  • What is the purpose of the DLTOVR command? The DLTOVR command is used to delete an override that was previously created for a library or object.

  • What is the purpose of the ADDLVL command? The ADDLVL command is used to add a level to a library, which allows you to organize objects within that library.

  • What is the purpose of the DSPFD command? The DSPFD command is used to display information about a file, such as the record format and key fields.

  • What is the purpose of the CPYF command? The CPYF command is used to copy a file from one library to another or from one member to another.

  • What is the purpose of the OVRDBF command? The OVRDBF command is used to override the file that a program uses, allowing you to use a different file or member than what the program expects.

  • What is the purpose of the ADDRPYLE command? The ADDRPYLE command is used to add a reply list entry, which allows you to specify how a program should respond to messages that are sent to it.

  • What is the purpose of the CALL command? The CALL command is used to call a program, passing parameters to it if necessary.

  • What is the purpose of the CHGDTA command? The CHGDTA command is used to change the value of a data area or data queue.

  • What is the purpose of the CHGPGM command? The CHGPGM command is used to change the attributes of a program, such as the activation group or the program owner.

  • What is the purpose of the CHGVAR command? The CHGVAR command is used to change the value of a CL variable.

  • What is the purpose of the DCL command? The DCL command is used to declare a CL variable.

  • What is the purpose of the DLTF command? The DLTF command is used to delete a file or a member from a library.

  • What is the purpose of the RCVF command? The RCVF command is used to read a record from a file.

  • What is the purpose of the SNDPGMMSG command? The SNDPGMMSG command is used to send a message to another program, allowing you to communicate between programs.

  • What is the purpose of the WRKCFGSTS command? The WRKCFGSTS command is used to display the status of various system configurations, such as the subsystems or the job queues.

  • What is the purpose of the WRKFLR command? The WRKFLR command is used to display the contents of a library, allowing you to see the objects that are stored within it.

  • What is the purpose of the WRKLNK command? The WRKLNK command is used to display a list of all the libraries that are currently linked to the system.

  • What is the purpose of the WRKOBJLCK command? The WRKOBJLCK command is used to display a list of all the locks that are currently held on an object.

  • What is the purpose of the WRKSPLF command? The WRKSPLF command is used to display a list of all the spooled files that have been created, allowing you to view, print, or delete them.

  • What is the purpose of the CHGUSRPRF command? The CHGUSRPRF command is used to change the attributes of a user profile, such as the password or the job description.
  • What is the purpose of the CRTBNDCL command? The CRTBNDCL command is used to create a bound CL program.

  • What is the purpose of the CHGDTAARA command? The CHGDTAARA command is used to change the value of a data area.

  • What is the purpose of the SBMJOB command? The SBMJOB command is used to submit a job to the job queue.

  • What is the purpose of the WRKACTJOB command? The WRKACTJOB command is used to display a list of active jobs on the system.

  • What is the purpose of the WRKUSRJOB command? The WRKUSRJOB command is used to display a list of jobs owned by a specific user.

  • What is the purpose of the CRTSAVF command? The CRTSAVF command is used to create a save file, which can be used to save and restore objects.

  • What is the purpose of the ENDJOB command? The ENDJOB command is used to end a job that is currently running.

  • What is the purpose of the DSPJOB command? The DSPJOB command is used to display information about a job, such as the job status and job log.

  • What is the purpose of the CHGSYSVAL command? The CHGSYSVAL command is used to change the value of a system value.

  • What is the purpose of the STRSQL command? The STRSQL command is used to start SQL interactive mode, allowing you to enter SQL statements and run queries.

  • What is the purpose of the STRDBG command? The STRDBG command is used to start the CL source-level debugger, allowing you to debug a CL program.

  • What is the purpose of the CHGJOB command? The CHGJOB command is used to change the attributes of a job, such as the job priority or the job description.

  • What is the purpose of the CPYSPLF command? The CPYSPLF command is used to copy a spooled file to a physical file, allowing you to process the data in the spooled file.

  • What is the purpose of the RTVJOBA command? The RTVJOBA command is used to retrieve information about the current job, such as the job number and user ID.

  • What is the purpose of the ADDPFTRG command? The ADDPFTRG command is used to add a trigger to a physical file, allowing you to run a program when a record is added, changed, or deleted.

  • What is the purpose of the WRKJOBSCDE command? The WRKJOBSCDE command is used to display a list of jobs that are scheduled to run at a specific time.

  • What is the purpose of the ADDJOBSCDE command? The ADDJOBSCDE command is used to schedule a job to run at a specific time.

  • What is the purpose of the CRTUSRPRF command? The CRTUSRPRF command is used to create a user profile, which allows users to sign on to the system.

  • What is the purpose of the CRTJOBSCDE command? The CRTJOBSCDE command is used to create a job schedule entry, which allows you to schedule jobs to run at specific times.

  • What is the purpose of the ADDWSESBLE command? The ADDWSESBLE command is used to add a workstation entry to a subsystem, allowing users to access the subsystem from their workstations.
  • What is the purpose of the CHKOBJ command? The CHKOBJ command is used to check if an object exists and to verify that it is of the correct type.

  • What is the purpose of the CHGSPLFA command? The CHGSPLFA command is used to change the attributes of a spooled file, such as the number of copies to print or the output queue.

  • What is the purpose of the RMVJOBD command? The RMVJOBD command is used to remove a job description from the system.

  • What is the purpose of the DSPFD command? The DSPFD command is used to display the attributes of a physical file.

  • What is the purpose of the DLTUSRPRF command? The DLTUSRPRF command is used to delete a user profile from the system.

  • What is the purpose of the STRPCCMD command? The STRPCCMD command is used to start a PC command from the iSeries.

  • What is the purpose of the DLTSPLF command? The DLTSPLF command is used to delete a spooled file from the system.

  • What is the purpose of the WRKSPLF command? The WRKSPLF command is used to display a list of spooled files on the system.

  • What is the purpose of the CHGVAR command? The CHGVAR command is used to change the value of a CL variable.

  • What is the purpose of the ADDENVVAR command? The ADDENVVAR command is used to add an environment variable to a job.

  • What is the purpose of the DLTOBJ command? The DLTOBJ command is used to delete an object from the system.

  • What is the purpose of the DLYJOB command? The DLYJOB command is used to delay the processing of a job for a specified time period.

  • What is the purpose of the CPYF command? The CPYF command is used to copy data from one file to another file.

  • What is the purpose of the CHGSBSD command? The CHGSBSD command is used to change the attributes of a subsystem description.

  • What is the purpose of the WRKLIB command? The WRKLIB command is used to display a list of libraries on the system.

  • What is the purpose of the ADDLIBLE command? The ADDLIBLE command is used to add a library to the library list for a job.

  • What is the purpose of the ADDSRVJOB command? The ADDSRVJOB command is used to start a service program and add it to the job.

  • What is the purpose of the SBMRMTCMD command? The SBMRMTCMD command is used to submit multiple CL commands as a single batch job.

  • What is the purpose of the DSPMSG command? The DSPMSG command is used to display system messages or messages for a specific job.

  • What is the purpose of the SBMRCCMD command? The SBMRCCMD command is used to submit multiple CL commands as a single batch job and return control to the calling program.
  • What is the purpose of the CRTLIB command? The CRTLIB command is used to create a new library on the system.

  • What is the purpose of the CPYTOIMPF command? The CPYTOIMPF command is used to copy data from a file to a CSV file on the IFS.

  • What is the purpose of the OVRDBF command? The OVRDBF command is used to override the file that a program uses, allowing it to access a different file.

  • What is the purpose of the CHGSYSVAL command? The CHGSYSVAL command is used to change a system value.

  • What is the purpose of the CHGPF command? The CHGPF command is used to change the attributes of a physical file.

  • What is the purpose of the STRDBG command? The STRDBG command is used to start a program in debug mode.

  • What is the purpose of the STRSDA command? The STRSDA command is used to start the System Debugger.

  • What is the purpose of the WRKACTJOB command? The WRKACTJOB command is used to display a list of active jobs on the system.

  • What is the purpose of the EDTF command? The EDTF command is used to edit a source file on the system.

  • What is the purpose of the DSPDBR command? The DSPDBR command is used to display the attributes of a database relation.

  • What is the purpose of the DSPSYSVAL command? The DSPSYSVAL command is used to display the values of system values.

  • What is the purpose of the DLTOBJAUT command? The DLTOBJAUT command is used to delete an object authority from the system.

  • What is the purpose of the SBMJOB command? The SBMJOB command is used to submit a job to the job queue.

  • What is the purpose of the ENDJOB command? The ENDJOB command is used to end a job.

  • What is the purpose of the STRPCCMD command? The STRPCCMD command is used to start a PC command from the iSeries.

  • What is the purpose of the DSPUSRPRF command? The DSPUSRPRF command is used to display the attributes of a user profile.

  • What is the purpose of the CHGUSRPRF command? The CHGUSRPRF command is used to change the attributes of a user profile.

  • What is the purpose of the CHGJOB command? The CHGJOB command is used to change the attributes of a job.

  • What is the purpose of the DSPJOB command? The DSPJOB command is used to display the attributes of a job.

  • What is the purpose of the CHGCTL command? The CHGCTL command is used to change the attributes of a job control language program.

    Leave a Comment


  • captcha text