Sunteți pe pagina 1din 24

Question Which of the folllowing is the utility to scratch datasets?

Which of the following is the special DD name to pass in-stream data? Which is utility faster than IEBGENER? There is an existing sequential file and I want to append data to it, then DISP=__________ Parameter to specify to whom the job is to be intimated after completion: Which utility is used to compare two datasets? Which of the following dataset is used in DB2? Special DD name used for listing messages listed out of the DISPLAY verb used in COBOL programs: Which utility is used to maintain dataset password? ________ specifies the amount of workspace required by the operating system to execute the job? Which utility is used to compress PDS? If actual CPU execution time exceeds value specified in the TIME parameter, job will fail with ______ abend . Which specifies the type of JOB submitted to the system? Which utility is used for GDG creation? Which program link- edit object modules to form a load module that can be executed?

1 IEBPTPCH SYSIN

4 IEBUPDTE SYSMSG IEBCOMPR NEW

IEHPROGM IEBCOPY SORTIN SYSOUT SORT SHR

IEHPROGM IEBCOPY OLD USER IEBPTPCH KSDS SYSIN MOD TIME

MSGCLASS NOTIFY IEBCOMPR RRDS SYSMSG IEBCOPY TIME

IEHPROGM IEBCOPY ESDS SORTIN LDS SYSOUT IEBUPDTE NOTIFY

IEHPROGM IEBPTPCH MSGLEVEL IEBCOPY SOC4 REGION IEBCOMPR S222

IEHPROGM SORT S322 SOC7 None of the listed options IDCAMS IEBCOPY

REGION IEFBR14 IEFBR14

CLASS SORT IEWL

MSGLEVEL IEBGENER SORT

OUTREC is used to skip certain number of TRUE records in SORT utility. State True or False. How many parameter fields are there in 4 JCL? Which statement in a batch job is used to EXEC define the datasets required by the program Statement in the step?

FALSE 6 DD Statement 5 JOB Statement 2 None of the listed options

Which is used to determine the position of a Relative Byte Spanned record in a VSAM data set? Address Records Which type of mode is more used in Sequential Direct updating master files through online real time applications? Which utility exclusively handles all types of IEHPROGM IEBCOMPR VSAM data sets?

Control area Splits None of the listed options IDCAMS

Random IEBPTPCH

Before accessing a KSDS or ESDS through an alternate index, a path must be defined. TRUE State True or False. Which command is used to copy data from a VSAM object to another or a non-VSAM dataset? Which dataset consists of a number of preformatted fixed-length slots? Data organization in KSDS is _________. DEFINE KSDS INDEXED

FALSE

REPRO ESDS

PRINT RRDS

LISTCAT LDS NONINDEXE D Neither I nor II

NUMBERED LINEAR

Which of the following controls the processing of batch jobs? I only I.JES3 II.JES2 _________ is limited to certain CNS utilities CLASS 0 such as CHRGLIST and XFER3 (funds transfer). In JCL, JOB NAME should be between ___ 1 to 3 to ____ characters There are 100 steps in a job. what to do to execute 100th step? Note: remaining 99 steps should not execute.

II only

Both I and II

CLASS 1 2 to 6

CLASS R 1 to 8

CLASS U 1 to 10

Give, Give, Give, Give, "RESTART= "STOPRUN= "RESTART= "RESTART= STEP100 STEP1 TO STEP100" in 100" in the ONLY" in the STEP99" in the jobcard jobcard jobcard the jobcard Only Start JOB JESJCL shows which of the following details All allocation All of the and End Statement when MSGLEVEL=(0,1)? messages listed options Time details In which type of PROC, PEND is mandatory? How to check the syntax of JCL without running it? In JCL, the expansion of the PROC is identified by a leading _________ symbol. Which of the following defines AREA A in a COBOL program? What is the maximum length of a field you can define using COMP-3 ? Cataloged Proc TYPERUN= HOLD ++ Column 7 11 10 bytes In-Stream Proc Input Stream None of the listed options

TYPERUN=S TYPERUN=S TYPERUN=S EARCH CANJCL CAN // //* **

Column 12 Column 8 Column 1 7 72 11 8 bytes COPY FILE SECTION 5 SIGNAL 8 12 bytes PASTE LINKAGE SECTION 4 CALL 12 15 bytes CP None of the listed options 7 CONTINUE 4

__________ statement is a library statement CUT that places prewritten text in COBOL. WORKINGWhich section is used to pass data from one STORAGE program to another program? SECTION The maximum number of dimensions that 10 an array can have in COBOL85 is __________. What statement is used to jump from one GOTO para to another in COBOL? How many bytes does a S9(7) COMP-3 field 16 occupy?

Which clause transfers control from one object program to another within the run unit? Which statement is used in COBOL to transfer data to an output devices?

SIGNAL

CALL

CONTINUE

GOTO None of the listed options LinearSequential ENDPROGRAM 50 COMP-2 CONDITION 47 I-O None of the listed options 77 END 3 SOC4

WRITE

LIST Sequential EXIT 22 COMP-3 REDEFINE 94 OUTPUT

DISPLAY Random GOBACK 15 COMP RECORD 46 EXTEND

Printer files can have __________ Linear organisation. ________ keyword ensures that the next time the referenced sub-program is called it CANCEL will be in it's initial state. How many if's are possible in a nested IF? 10

Which COMP variable use single precision COMP-1 floating point? 01 Level number is specified only to Identify RENAME _______ What is the File status code for logic error? Other than output, which is the other mode in which file can be opened for writing? Which verb is used in place of nested IFTHEN-ELSE statements? What is the level for defining Condition names? To exit the program completely give _________ to end the program. How many possible modes are there to open a file in output mode? What ABEND will get if the load module is not found? Which of the four COBOL divisions contains machine dependent details? How to read the packed datas (Comp values)from vsam dataset? Convert the packed decimal data as alphanumeric data using __________ error occurs on exception storage violation. Input procedure is not used in _________ statement. Consider the following code snippetL: 01 VAR-A PIC X(4) VALUE THANK. 01 VAR-B PIC XBXBXBXB. MOVE VAR-A TO VAR-B. What will be the value of VAR-B? Which of the following are the Procedure Branching Statements? 92 INPUT

EVALUATE 66 STOP 4 SOC7

CONTINUE 88 EXIT 2 S806

DISPLAY 1 STOP RUN 5 S837

Identification Environment Procedure Data Division Division Division Division D2C C2D X2C C2X

SOC7 MERGE

SOC4 INSERT

SOC1 UPDATE

S222 None of the listed options

THA

THA

THAN

THAN

GOTO

PERFORM

STOP

All of the listed options CLOSE

Which of the following statement provides a END common end points for a series of paragraph?

STOP

EXIT

The Transient Which CICS system program is responsible Data for handling automatic task initialization? Program(TD P) _____________is the mechanism by which Virtual different CICS address spaces within the Region same CPU can communicate and share Operation resources. (VRO) Trans-id is defined in _________. __________ transfers control from one application program to another in the same logical level. MAPONLY is a SEND MAP operand that sends only fields with initial values to the screen. DATAONLY is the SEND MAP operand that specifies only data from the map area should be displayed. State True or False. ____________ is the load-module generated after compilation of a map Which macro is used to create mapset? Which command will clear only the unprotected fields of the map? Which option in CEMT changes the status of one or more named instances of a resource? Which CICS transaction check the syntax of CICS API commands? Which transaction is used to browse temporary storage queues and transient data queues?

The Transient Data queue TDQ)

Task Work Area(TWA)

Task Control area(TSA)

Multi Region Multi Tasking Multi Operation Operation threading (MRO) (MTO) Operation Processing Resource Control Table Control Table (PCT) (RCT) LOAD XCTL

Processing File Control program Table (FCT) table (PPT) LINK RETURN

TRUE

FALSE

Symbolic Map DFHMDI ERASE PERFORM CEMT CEBR

Physical Map Mapset DFHMDF CLEAR SET CEBR CEMT DFHMSD CLS DISCARD CDTS CERB

Map DFHMDM ERASEUP INQUIRE CECS CERT Both Send map command and Receive map command TST

Which command can be used to read data from all three types of VSAM files?

Send map command

Receive map Read command command

Which table contains all program names PPT and mapset names? _____________ manages programs Storage executing within a task, loads and release of control programs. CEMT SEND MAP (map __________ used to send the CICS map to name) the terminal. MAPSET (mapset name) Which command changes some of the CEMT SET attributes of one or more VSAM or BDAM PROG files?

PCT Program control CECS SEND MAP (map name) MAPSET (mapset name) CEMT SET FILE

TCT

Task control Trace control CECI SEND MAPSET (mapset name) MAP (map name) CEMT SET PROC CECI SEND MAP (map name) MAPSET (mapset name) CEMT SET SYS

__________ transaction allows you to use the EDF that enables you to debug a CICS application program Temporary Storage Queue(TSQ) transaction can either read the records or write the records but cant do both. State True or False. Which option is used to enter into DB2 in ISPF PRIMARY OPTION MENU? _________ is the excecutable command in SPUFI. How do you store permenantly all changes in Database? A table that holds persistent user data is a ___________.

CECI

CEMT

CEDF

CECS

TRUE

FALSE

5 END;;; SAVE Result Table

9 EXECUTE COMMIT

6 EXEC; SAVE ALL

8 RUN;;; None of the listed options Temporary Table Primary Key DCLGEN

Materialized Base Table Query Table Foreign Key Utilities

The candidate keys that were not chosen as Composite Alternate Key Primary Key is called ________. Key Invoke __________ to generate SQL and source language data type declarations. SPUFI DB2 Compiler Views

____________ is a pointer to another table, which can be on the same DB2 subsystem Indexes or on another DB2 subsystem.

Aliases

Synonyms CREATE TABLE t1 (employid INTEGER NOT NULL, primary key (employid))

Which of the following DDL statements creates a table where employee ids are unique?

CREATE TABLE t1 (employid INTEGER)

CREATE TABLE t1 (employid UNIQUE INTEGER)

CREATE TABLE t1 (employid INTEGER NOT NULL)

Which of the following delete rules will not allow a row to be deleted from the parent table if a row with the corresponding key value still exists in the child table? The purpose of the USE privilege is to ___________. For which of the following database objects can locks NOT be obtained? Given the statement: CREATE VIEW v1 AS SELECT c1 FROM t1 WHERE c1='a' WITH CHECK OPTION Which of the following SQL statements will insert data into the table?

DELETE

DROP

RESTRICT

SET NULL

create tables create table query data in load data into within a table spaces within a table a table space a database A Row A column A Table An index Key

INSERT INSERT INTO v1 INTO v1 VALUES VALUES (a) ('ab') Specify the indexed columns in the WHERE clause Specify the subscription in the WHERE clause

INSERT INSERT INTO v1 INTO v1 VALUES ('b') VALUES ('a')

How do you select a row using indexes?

Specify the indexed columns in the OCCURS clause

Specify the subscription in the OCCURS clause

What is the restriction on using UNION in embedded SQL? Given the statements: CREATE TABLE tab1 (a INT, b INT, c INT, CHECK (a > 200)) CREATE VIEW v1 AS SELECT a, b, c FROM tab1 WHERE a > 250 Which of the following statements will fail? Which of the following is a valid wildcard character in a LIKE clause of a SELECT statement?

It should not None of the No restriction be in a listed option CURSOR INSERT INTO v1 VALUES (250, 2, 3) INSERT INTO v1 VALUES (300, 2, 3) INSERT INTO tab1 VALUES (200, 2, 3)

It has to be in a CURSOR

INSERT INTO tab1 VALUES (250, 2, 3)

_ Tables & Indexes

@ Tables & Triggers

? Indexes & Constraints

SQL source statements for which two of the Views & following are stored in the system catalog? Triggers Given a SELECT statement that has a GROUP BY clause. The HAVING clause uses the same syntax as which other clause? Which of the following can duplicate the structure and related objects of a database table? Table T1 needs to hold specific numeric values up to 99999.99 in column C1. Which of the following would be the most exact definition for C1?

UNION

SUBQUERY ORDER BY

WHERE

Copy table

Alter table

Generate DDL

Export table

REAL

INTEGER

DECIMAL(5, NUMERIC(7, 2) 2)

Given the following table with a primary key on empid: Emp:

Empid

Name

11 Joe Smith 23 Melanie Jones 30 Robert Bruce 49 Janice Baker 66 Mario Diaz 68 Maria Diaton Give the following statement in an embedded SQL program bound with Repeatable Read: Select * from Emp where empid < 55 How many rows in the table will be locked after the statement is run?

View is used instead of a table for users to do which of the following?

Avoid allocating more disk space per database

Provide users with the ability to define indexes

Restrict user's access to a subset of the table data

Avoid allocating frequently used query result tables

Why is a unique index not sufficient for creation of a primary key?

A unique index can be defined over A unique Unique a column or index can be indexes can columns that It is sufficient defined over be defined in allow nulls. - a primary a column or ascending or This is not key is the columns that descending allowed for same thing allow nulls. order. primary keys as a Primary keys Primary keys because unique index cannot must be foreign keys contain nulls. ascending. cannot contain Nulls.

Select, Alter, Create, Insert, Which of the following are DDL statements? Drop Update, Delete Which instruction manages the built-in PARSE PULL debugging facility in REXX? EXTERNAL ________is used to split the values of PARSE SAY variables in REXX. What should be the first statement of a // REXX // /* REXX */ REXX program? Which command is used to get the member LISTDS GETMEM list of a PDS in REXX? Which option is used to avoid corrupting the environment for nested calls to applications in REXX? I only II only I. QUEUE II.QUEUED III.STACK _________ returns the character position in WORDPOS SUBWORD an input string of the first character in the specified word in REXX. Which built-in function returns the total number of elements on a data stack? Which function returns a string indicating if one string is equal to the specified number of leading character of another string in REXX? Which statement can direct the execution to one of many choices, based on some condition in REXX? __________ instructions that interrupt the flow of an exec can cause the exec to Skip to another part of the exec marked by a label in REXX. QUEUED STACK

Commit, Rollback, Savepoint TRACE SPLIT //REXX LISTPDS

Grant, Revoke SAY SIGNAL /* REXX GETPDS

III only

II and III

WORDINDE WORDS X TRACE None of the listed options

OVERLAY

ABBREV

POS

TRANSLATE

IF

Do WHILE

DO FOREVER

SELECT

CALL/RETU EXIT RN

GOTO

SIGNAL

Which function returns a portion of input string starting at a specified word number in REXX? Which function retrieves a detailed information about a dataset's attributes in REXX? Which function returns a character string after removing leading and trailing characters or both from input string? The destination of REXX output, as well the TSO command processor is Which option closes the dataset after the information is read in REXX? Which function is used to know whether the ISPF is active or not in REXX? Which instruction causes an immediate exit from a repetitive loop in REXX? What will be the output for the following REXX code? /*REXX*/ SAY 'This is' || 'a string.' The left column shows the input values sent to an exec. The right column is the ARG statement within the exec that receives the input. What value does each variable assume using REXX? Which of the following are valid REXX variable names? I. 8eight II. $50.00 III. MixedCase IV. nine_to_five V. result Which function returns the error message associated with the specified error number in REXX?

WORDS

WORD

SUBWORD

WORDPOS

LISTDSI

ATTRIB

LISTDS

LISTATTR

SUBSTR SYSDSN END SYSISPF EXIT This is a string. first = 3, second = 9, third = 12, fourth = 15, fifth = null

STRIP SYSTSIN CLOSE SYSTSPRT LEAVE This isa string

JUSTIFY SYSTSPRT EXIT LISTDSI

SUBWORD SYSPRINT FINIS SYSDSN

CLOSE ALL TERMINATE This isa string. first = 3, second = 9, third = 12, fourth = 15, fifth = 3 Throw error message

first = 3, second = 9, third = 12, fourth = 15

will throw error message

II,III,V

I,II,V

II,III,IV,V

All are invalid

ERROR

ERRMSG

ERRTXT

ERRORTEX T

Which function is used to get the number of SYSWTERM SYSLTERM lines available on screen in REXX? Which statement is used to read a dataset in READ REXX? File-AID is a ______________tool developed by Compuware. A data set can not be opened with a copybook in vertical formatted mode. State True or False. Which mode provides a full-screen view of the data? Which mode is best to see COMP or COMP3 values in the file with the layout? GETDATA

WORDLENG LINEOUT TH EXCEIO EXECIN

Defect Change Test Data Tracking tool Management Management Management TRUE Vertical Formatted Mode FMT FALSE Formatted Mode VFMT Character Mode CHAR All of the listed options FORMAT

Which of the following options do we need to 1 select from File aid menu for edit? Shows only variables with offset number 1,2,3,8, & 10

2 Show only variables with offset number 1,2,3,4,5,6,7, 8,9 &10 VFMT

3 Shows only variables with offset number 2,6,8, & 10 FMT

4 Shows only variables with offset number 1,2,3,6,8, & 10 All of the listed options T 10

What is the meaning of the following? DISPLAY 1-3 6 8 10 ONLY

Which mode can show only one record at a CHAR time? In Selection Criteria usage, which takes us directly to query mode based on position and length? What is the Option for File-aid Copy? If you are copying the dataset to a existing dataset, then disposition parameter should be as which of the following? I. OLD II. CATLG III. SHR Using file-aid you can selectively choose records for processing by defining one or more conditions that a record must meet in order to be selected. State True or False. Which fucntional key is used to view more layout fields? Q 4

QM 3

E 2

I only

II only

III only

I and III

TRUE

FALSE

PF6

PF7

PF8

PF9

Multiple values can be tested in non-numeric fields using the _______ operators by NE and LE separating the values with commas. Use the _________ primary command from the Selection Criteria Menu to indicate that you have finished creating and reviewing EXIT your temporary selection criteria and are now ready to see the results. To start recording a PCOM macro, click on which of the following icon in the toolbar? The macro is generated in ________________. Store Keystroke Recording

CO and EQ

LT and GT

CO and NC

FINISH

RETURN

END

How will you stop the recording while the recording is in progress?

A recorded macro by default gets saved in _______________ folder.

Start Start Keystroke Recording Recording Excel Macro VBScript File Jave Script File Click on the Click on the Stop "Stop Press F3 key Keystroke Recording" twice Recording icon and Save icon Personal \Personal \Personal Communicati Communicati Communicati ons\PCOM_ ons\public ons\PCOM SCRIPT

None of the listed options Macro File

Press Pause/Break key

\Personal Communicati ons\private

The SendKeys method sends a string of keys to the presentation space for the connection associated with the autECLPS object. State True or False. Which spool command is used to release a job that has been submitted with HOLD option? Which command used to turn on and turn off the action bar menu in the spool? Which option in SDSF displays current status of all jobs? How many types of command used to control SDSF? _______ action character is used to release a held job or output. _________ SDSF command displays user information. Which action character is used to browse JCL using ISPF Edit? Which option will take you into Scheduling Products Menu? The ________ screen will identify the jobs that will be triggered when the specified Job is completed.

TRUE "R" beside the job name in the spool area

FALSE "A" beside the job name in the spool area SETTINGS SE 4 A "?" beside the job name in the spool area SET SCREEN DA 5 ?

"H" beside the job name in the spool area SET SET ACTION DISPLAY SD 2 CA ? SE E.11 DB.2.1 ST 3 C USER S E.7 DB.2.3

PRE *User-id WHO SJ E.J DB.2.4 SB E.8 DB.2.7

To display the monthly To list To display calendars What is the usage of LJOB command in CA- information the last with the days 7? from the CA- successful the job is 7 run log run of the job scheduled to run Which command will list information on CPU LP jobs from the request, ready, and active queues? Which option will display all data related to the job(s)? Min and max no of members (PDS) in one directory block: LIST=ALL 0 and 5 LQ LC

To display information related to a job

LJ

LIST=* 0 and 6 POS

LIST=<user- All of the id> listed options 1 and 5 LINEPOS 1 and 6 None of the listed options None of the listed options None of the listed options LISTDSN TRANSFILE S

Which of the following ISPF line command is COLS used to display a position identification line? Which TSO command is used to end the processing of batch jobs submitted at terminal level? Which of the following TSO command is used to execute a REXX exec? EXIT

END

CANCEL

EXECUTE

EXEC ATTRIB RECEIVE

RUN LISTATTR RETRIEVE

Which TSO command is used to display the LISTDS attributes of dataset? Which TSO command is used to retrieve GET transmitted files and restore them to their original format?

Why BlockSize should be multiples of LRECL?

To have WRITE operation of a complete record Option 3 Press "F1" twice

To have READWRITE operation of a complete record Option 1 Press "F3" twice SRCHFOR Cognizant

To have READ operation of a complete record Option 5 Press "F2" SRCH Cognizant UNNUM HALF Map "CTRL+ENT ER" to "Top of Field" Issue a "CP" before the dataset in DSLIST

None of the listed options

What is the ISPF Menu Options to test the User Created Panels? If dataset is used by other users, How will you find out the list of users accessing the file?

Option 7 Press "F1" SEARCH ALL "Cognizant" SNO OFF CSR Map "CTRL+END" to "Bottom of Field" Issue a "ZD" before the dataset in DSLIST

How to find what are the members of a PDS SEARCH contains the word "Cognizant"? 'Cognizant'

How to remove the serial numbers (Cols 74 UNNUMBER NUM OFF to 80) present in a dataset? What is the keyword to change the scroll PAGE value to scroll till the current cursor position? How will you configure the keymap, such that "CTRL+END" key will navigate to the end of the line? Map "CTRL+ENT ER" to "Bottom of Field" Issue a "Z" before the dataset in DSLIST Press "PF11" before the dataset in DSLIST TRECALL Option 3.2 D DATA Map "CTRL+END" to "End of Field" Issue a "C" before the dataset in DSLIST Press "PF9" before the dataset in DSLIST RECALL Option 3.4 DD

How to compress a dataset?

How to find out the Percentage of space used by a dataset? What is the command to recall the dataset from Tape? Which option is used to copy datasets? Which ISPF line command is used to delete blocks of lines in the dataset? Which will be used to end your terminal session? I. X II.EXIT III.LOGOFF Which functional key is used to cancel or exit the system? Which option is used to search data sets for strings of data? Which TSO command is switching to other screens when working from one screen is possible? A total of ____ extents are available per dataset?

Press "PF10" before the None of the dataset in listed options DSLIST HRECALL Option 4.1 DEL HREF Option 3.3 DDD

I only

II only

III only

I and III

PF9 Option 3.12 SPLIT 12

PF12 Option 3.11 SWAP 15

PF10 Option 3.14 SWITCH 8

Clear Option 3.13 RCHANGE 16

To cancel the changes made since the last save which of the following command can be used? I. CAN II. CANCEL III. Press "F3" How many types of comparisons are there while using SuperCE Utility? What is the maximum no. of generations possible in a GDG? How do we denote a temporary dataset? Grouping of JCL statements together and giving them as a Member of PDS and invoked that member in many JCLs is called? What is the Default Values for DISP parameter for Existing Dataset?

I only

II only

III only

I and II

4 250 // JOB

2 256 &temp PROC

6 300 /* SORT

8 255 && None of the listed options

DISP=(OLD, DISP=(OLD, DISP=(OLD, DISP=(OLD, KEEP,PASS) PASS,KEEP) KEEP,KEEP) PASS,PASS) Used to indicate the Used to step, indicate only procedure the step at step or which the checkpoint at system is to which the restart the system is to job restart the job 50 60 Used to indicate only the procedure None of the step at which listed options the system is to restart the job 99 100 None of the listed options SOC7 80 bytes None of the listed options SORT None of the listed options

What is RESTART?

How many characters we can pass using PARM parameter? Which specifies the library where the load module of the program to be executed will be searched and applies only to that step

PROCLIB

JOBLIB

STEPLIB

Which abend code indicates memory error? S30A What is the maximum length of a single line 61 bytes of JCL? Which of the following is the utility that creates test data? Which utility when used would return "Return Code" as 0 even if input dataset is empty? IEBPTPCH

S837 40 bytes IEBDG

S806 71 bytes IEHPROGM

IEBGENER

IEBCOPY

IEBCOMPR

To split a file, which option could be used for OUTFIL this in sort utility? If you specify DISP=KEEP for a temporary dataset, the system changes the disposition TRUE to PASS. State True or False.

INREC

OUTREC

FALSE

5 2 1 3 2 4 4 3 3 1 2 1 3

Correct Answer Option(s)

2 4 2

2 4 2

3 4

2 3 1

4 3

2 4 1 4 1 2

4 1 4

3 2 1 3 1 3 1 3

1 2 3 4 2 2

2 1

2 3 4 2 4 1

1 2

4 1 2 3 1 4

3 1 2 1

2 3 4 1 2

2 3 4

1 2

2 1

4 2 1 3 4 3 2 3

1 2 1

2 1 2

4 1

2 3 4

3 4 2

2 3 2 4

1 4 4 2

1 3 2

S-ar putea să vă placă și