Вы находитесь на странице: 1из 29

Question retrieved at

execution

Name the system library from which modules are

Rank 0 0

Answer Posted By Hakila Vinayagam Sagar

Answer Answer

SYS1.LINKLIB 1234 Name the system library from which modules are execution

Question retrieved at Answer


SYS1.MACLIB

Rank 0

Answer Posted By Shakila Vinayagam

Question

There are a set of 10 files and a customer will be selecting random no of files(i.e they may be more than 2, may not be in the order).Sometimes he might just select one file or sometimes no files at all.How do you code a JCL for this? Is it possible to code just JCL alone for this problem? Hi, I don't know the exact answer to this query. But I have following approach. Suppose I have a cobol pgm (say) PGM123 that is picking up files randomly. (We definately need 1 application pgm to process any of those 10 files randomly. This is my basic assumption) I will code a PARM or SYSIN DD * where in my customer can change order of selection of files . Say if customer enters PARM as ABCD in order then I will move this PARM ABCD in a working storage variable in COBOL PGM and will read each byte A (assign to process file-1) if second byte is B then process file-2 of third byte is C then process file-3 and so on. If the cutomer changes this parm as EDA then files processed will be file-5 then file-4 then file-1. If any body has different approach pls let me know.

Rank

Answer Posted By

Answer

Yogendra Shinde

Question Answer

I have a COBOL program that Accepts some input data. How do you code the JCL statement for this? ( How do you code instream data in a JCL? ) //SYSIN DD* input data input data /* ONE WAY OF ACCEPTING THE DATA IS // SYSIN DD* VALUE1 VALUE2 */ AND OTHER WAY YOU CAN USE FILE TO ACCEPT THE DATA INCLUDE THAT FILE INTO YOUR RUN JCL.

Rank 0

Answer Posted By Guest

Answer

Ritesh Kumar

Answer

ONE WAY OF ACCEPTING THE DATA IS // SYSIN DD* VALUE1 VALUE2 */ AND OTHER WAY YOU CAN USE PARM PARAMETER IN YOUR JCL. IN APPLICATION PROGRAM USE THAT DATA THROUHG LINKAGE SECTION. I have multiple jobs ( JCLs with several JOB member. What happens if I submit it? Multiple jobs are submitted (as many jobs as the number of JOB cards). no answer for this see there should be only one job card in one jcl but there can be 255 steps for example in C land there should be only one main right can N E body tell me more plz

Sandeep

Question cards ) in a Answer

Rank 0

Answer Posted By Guest

Answer Answer

0 0

Binoy Suresh Babu

Answer

whenever ur submitting multiple jobs @ a same time u'l hav give the priority for the execution of jobs. according to the priority the jobs will b executed 1 by 1. you can have any number of job cards in a single jcl.only

Siddhartha

Answer

Sudha

the job steps is limited to 255 steps How do you send the output of a COBOL program to a a PDS?

Question member of Answer

Rank 0

Answer Posted By Guest

Code the DSN as PDS (member) with a DISP = SHR. The DISP applies to the PDS and not to a specific member.

Question What is STEPLIB, JOBLIB? What is it used for? Answer


Specifies that the private library (or libraries) specified should be searched before the default system libraries in order to locate a program to be executed. STEPLIB applies only to the particular step, JOBLIB to all steps in the job.

Rank 0

Answer Posted By Guest

Question What does IEBGENER do? Answer


Used to copy one QSAM file to another. Source dataset should be described using SYSUT1 ddname. Destination dataset should be described using SYSUT2. IEBGENR can also do some reformatting of data by supplying control cards via SYSIN. used to copy a group of records of variable length from one qsam file to another. the file may be ps or pds member.. source file must be specified in SYSUT1 and destination is specified in SYSUT2. You can use IEBGENER to perform the following tasks: 1) Create a backup copy of a sequential data set, a member of a partitioned data set or PDSE or a UNIX system services (USS) file such as a HFS file. 2)Produce a partitioned data set or PDSE, or a member of a partitioned data set or PDSE, from a sequential data set or a USS file. 3) Expand an existing partitioned data set or PDSE by creating partitioned members and merging them into the existing data set. 4) Produce an edited sequential or partitioned data set or PDSE. 5) Manipulate data sets containing double-byte

Rank 1

Answer Posted By Guest

Answer

Balakrishnan,maples148

Answer

Shakila Vinayagam

character set data. 5) Print sequential data sets, members of partitioned data sets or PDSEs or USS files. 6) Reblock or change the logical record length of a data set. 7)Copy user labels on sequential output data sets.

Question Can you code instream data in a PROC ? Answer Answer


No. We can't use instream in PROC ,we cau use over ridden paramater to pass value in Proc

Rank 0 0

Answer Posted By Guest Rd

Cobol: Questions Page

resolve the soc4 & soc7 han following answers. n resolved using mispleed dd name and dd name is not g with file

Rank

Answer Posted By

7 check the sysdump and copy the offest address then it in the program.

d By :: Viswanatha Reddy I also faced this Question!!


ALL Interview .com

stion Asked @ TCS , Keane 2 Baskar

curs mainly due to protection exception. It means u trying to move a larger variable to a small e. Whereas S0C7 is data exception. It occurs when to move a non numeric value to a Numeric variable.

curs mainly due to protection exception. It means u are using subcripts for example my subsripts range ut I am trying 12 & your compiler option is ssrange soc4 error.

Sandeep

e causes for the Abend SOC4 include: alid address was referenced due to subscript error or ameter passed

Sujan

e are moving a group move, then the receiving record e lenght is defined incorrectly, like the target ize is less than the moving field size. iles, if we are trying to read or write a file which open, then we can get SOC4. d to goback in the SORT output procedure.

e differences between COBOL and java ? why we are more preference to COBOL ?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


ALL Interview .com

s a structured language where as Java is a High level ect oriented Language. Cobol has extensive facilities ort generation.

Ragahvendra

difference between comp & comp-4?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


computational clause but using the memory in a efficient way there is no comp-4 ALL Interview .com

Pal

e the functions like c or c++ in cobol?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


ALL Interview .com

res (proc) is the function like c or c++ in cobol

Jagadesh

the difference between a binary search and a ial search?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


ALL Interview .com

search is search all. sequential search is the serach.

Guest

for Search all: File contains 100 records. supose searching for 75 th record, first entire file into two parts, it will check , whether record is t half or second.. like that file ds divded into t parts

ial serach: if the file contains 100 records, spose looking for 75th record, it will start serach from ecord...

lude time & date in the report generation in cobol ing?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


a cobol reserved wordS called CURRENT DATE AND TIME ALL Interview .com

Guest

Accept ws-date from CURRENT DATE

we pass data from cobol to JCl?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


ALL Interview .com

pass the data from cobol to JCl

Guest

e 4 t0o return code.

the meaning of 'Eject' verb in cobol?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


ALL Interview .com

erb can be used any division in cobol program. it is page break..

Guest

the meaning of 'TALLING' verb in cobol?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


ALL Interview .com

g is ued for counting the lettlers.. ued in Inspect statement pic x(10) value 'raja ramesh'

Guest

ws-variable

nt count the letter "r' count. u can use the g variable... let me now if u need any clarifiaction on this..

yahoo.co.in

the difference between write & move in COBOL?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


ALL Interview .com

s used for writing a record in the output file. This record will not be overwritten by the next WRITE nt for the same record name.

Guest

used to assign some data value to a variable. This the variable will be overwritten by the next MOVE nt for the same varaible name.

use redefine clause in occurs clause?

Rank

Answer Posted By

d By :: Nikhitha I also faced this Question!!


ALL Interview .com

....we can redefine occurs clause but not having ng clause

Manthan

sible because memory allocation can not be ated

Jagadesh

#2 is incorrect for IBM COCOL compiler.

#1 is correct but incomplete. a) "VALUE" close can used in occurring fields b) Occuring fields are the at will redefine other fields not the other way

: CORRECT

FIELD PIC X(21) VALUE 'SUNMONTUEWEDTHUFRISAT'. REDEFINES LIT-FIELDS. EEK-DAY OCCURS 7 PIC X(03). CT:. -DAY OCCURS 7 PIC X(03). FIELDS REDEFINES WEEK-DAY VALUE 'SUNMONTUE.........'

S codes in ,DB2,CICS

Rank

Answer Posted By

d By :: Lakshmikuppan I also faced this Question!!


for cobol you can compile a program to get all warnings, errors, severe errors and fatal errors. IDENTIFICATION DIVISION. PROGRAM-ID. ERRMSG. compile the above two statements and you will see the magic. ALL Interview .com

stion Asked @ Infosys 0 Rama Krishna

Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) (c) + OR (d) It is not possible

Rank

Answer Posted By

d By :: Guest I also faced this Question!!


+ ALL Interview .com

stion Asked @ TCS 0 Ad

Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above

Rank

Answer Posted By

d By :: Guest I also faced this Question!!


d ALL Interview .com

stion Asked @ TCS 0 Ad

Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER

Rank

Answer Posted By

d By :: Guest I also faced this Question!!


Program-id ALL Interview .com

Santosh Khot

The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above

Rank

Answer Posted By

d By :: Santhi I also faced this Question!!


b ALL Interview .com

stion Asked @ TCS 0 Rama Krishna

with ()

Amit

The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND

Rank

Answer Posted By

d By :: Santhi I also faced this Question!!


a ALL Interview .com

stion Asked @ TCS 0 Vijay

given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.

Rank

Answer Posted By

d By :: Santhi I also faced this Question!!


b ALL Interview .com

stion Asked @ TCS 0 Vijay Korde

Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is

Rank

Answer Posted By

d By :: Santhi I also faced this Question!!


110 ALL Interview .com

stion Asked @ TCS 0 Ad

Answer is again 10. Add 40 to x : x + 40 : 10 + 40 = 50 X = 3*X - 40 3 * x = 50 * 3 = 150, but since x declared as PIC 99, 1 will be truncated from 150. so now the value of x would be 50. so 50 - 40 is again 10.

Rama Krishna

Consider the following COBOL entries: 05 X PIC 99 VALUE 10. SUBTRACT 20 FROM X. The resultant value of X wil be

Rank

Answer Posted By

d By :: Santhi I also faced this Question!!


x= x -20 it will give error ALL Interview .com

stion Asked @ TCS 0 Guest

x=x-20 will be -10 Since there is a -ve sign in the beginning it'll be stored on top of the last digit. So -0 = }. Then ans will be 1}

Madhu

OCCURS clause is used in the DATA DIVISION data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49

on

Rank

Answer Posted By

d By :: Santhi I also faced this Question!!


88 ALL Interview .com

stion Asked @ TCS 0 Ashish Agarwal

Guest

Vijay Korde

d is correct answer, because occurs clause can not be used for 01 and 77, 88 levels

Sreenadh, Margadarsi Computers

COMPUTE X = COMPUTE (a) (b) (c) (d)

A * B - C * D and X = (A * B) - (C * D) Are not the same Are same Syntactically wrong Will yield a run time error

Rank

Answer Posted By

d By :: Santhi I also faced this Question!!


b ALL Interview .com

stion Asked @ TCS , Ww 0 Guest

Questions Page

and SPACES are constants (a) Figurative (b) Numeric (c) Non-numeric (d) Alphabete

Rank

Answer Posted By

d By :: Santhi
ALL Interview .com

stion Asked @ TCS 0 Ashish Agarwal

ed this Question!!

l entry is used

(a) data items ING-STORAGE (b) items with clause (c) condition(d) None of the

Rank

Answer Posted By

d By :: Santhi
ALL Interview .com

stion Asked @ TCS 0 Paddy

ed this Question!!

ane

the output

Rank

Answer Posted By

ed by the ng code? 01 GRP-I. 05 SUBFLD1 VALUE "AB". 05 FILTER ) VALUE SPACES. 01 GRP-2 ED GRP-1. 05 SUB-FLD2 05 SUB-FLD3

05 FILTER ). IF SUB-FLD1 NOT S DISPLAY 1" MOVE " TO GRP-1 IF SUBSPACES

DISPLAY "

ELSE

DISPLAY 3" DISPLAY "END" ELSE

DISPLAY " DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES

d By :: Santhi
ALL Interview .com

stion Asked @ TCS 0 Guest

ed this Question!!

wrong with the

Rank

Answer Posted By

ng data tion? 01 W-DATE 05 DD PIC 05 MM PIC 05 YY PIC

PIC

(a) Nothing is

(b) Under Wl level 05 re having a PIC 01 has PIC

(c) PIC can't ified for a tem. (d) DD, MM, and invalid es.

d By :: Madhav
ALL Interview .com

stion Asked @ TCS 0 Elite Group

ed this Question!!

clause can't be ed the group

y bytes will be ed for the ng record tion ries? 01 REC-A. 05 A PIC 05 B PIC 05 C PIC

Rank

Answer Posted By

9.

05 D PIC OMP-3. 05 E PIC MP.

d By :: Madhav
ALL Interview .com

stion Asked @ TCS 0 Elite Group

ed this Question!!

ng will be llocation:

Guest

4 bytes.

Madhu

8 bytes.

lowing entries in the WORKINGSECTION: 01 DATE-TODAY. 05 YY PIC E "90". 05 MM PIC E "12". 05 DD PIC E :31". 01 DATE-EDIT XX/XX. MOVE DATE-TODAY -EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290

Rank

Answer Posted By

d By :: Madhav
ALL Interview .com

stion Asked @ TCS 0 Mftesh

ed this Question!!

he DATA N entries and ee PROCEDURE N entries en below:

Rank

Answer Posted By

01 END-OF-FILEPIC XXX. 88 NO-MOREVALUE "YES". 88 MORE-RECS NO". (i) READ FILE AT END ES" TO NO-MORE-

(ii) IF NOCS = "YES" GO -PARA. (iii) IF NOCS GO TO LAST-

ch are wrong? (a) (i) and (b) (ii) and (c) (i) and (d) all

d By :: Madhav
ALL Interview .com

stion Asked @ TCS 0 Vel

ed this Question!!

Vel

y the invalid e from the ng: (a) SAVINGS-

(b) ANNUALION-FORD (c) SAMOUNT250 (d) 12DEMAND

Rank

Answer Posted By

d By :: Madhav
ALL Interview .com

stion Asked @ TCS 0 Elite Group

ed this Question!!

raph PARA-X is xecuted when the data names B and C have f 1. Which of lowing will this ?

(a) IF A NOT = NOT = 1 OR C PERFORM PARA-X (B) IF NOT A= 1 1 AND C = 1 PARA-X (C) IF A NOT =1 B = 1 OR C= 1 PARA-X (C) IF A NOT = NOT = 1 AND C PERFORM PARA-X

Rank

Answer Posted By

d By :: Madhav
ALL Interview .com

stion Asked @ TCS 0 Rama

ed this Question!!

is d. b is s 'NOT' y is Higher ND', 'NOT' will gned with A

Vel

r the ng: 77 9(10) 77 9(10) 77 9(19) A B C PIC PIC PIC BY

Rank

Answer Posted By

MULTIPLY AB G C

Which of the ng is true ?

(a) The on of the above ult in size

(b) The on of the above sult in size

(c) The ion of C is resulting in tion

(d) No error thee and the would proceed ly.

d By :: Madhav
ALL Interview .com

stion Asked @ TCS 0 Vel

ed this Question!!

r the following 77 A PIC VALUE 55.35 77 B PIC VALUE 32.754

ADD B TO A ON ROR DISPLAY !!"

What will be ult ? (a) A=88.10, 4 (b) A=87.00 4 (c) A=87.10 4 (d) ERROR!!! DISPLAYed on een.

Rank

Answer Posted By

d By :: Madhav
ALL Interview .com

stion Asked @ TCS 0 Vel

ed this Question!!

r the ng: 77 W-NUM PIC 9

Rank

Answer Posted By

------

MOVE 1

PERFORM UNTIL W-NUM > -----PARA-X ADD 1

How many times is executed ?

d By :: Madhav
ALL Interview .com

stion Asked @ TCS 0 Vel

ed this Question!!

r the following tements MOVE 10 TO N PERFORM PARA-X

STOP RUN ARA-X MOVE 5 TO N many times willbe d?

Rank

Answer Posted By

finate ecution error

d By :: Suman
ALL Interview .com

stion Asked @ TCS

ed this Question!!

r the following statements: IF X AND NOT Y TO B IF Z=1 OR 9 MOVE

Rank

Answ

ct one of the ng data divusion which dentical lts for both the F statements Z PIC 9

88 X VALUE 1.9 88 Y VALUE 0.2 Z PIC 9 88 X VALUE 0.2

Y VALUE 1.9 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE U 1.9 ne of yhe above

d By :: Suman
ALL Interview .com

stion Asked @ TCS 0

ced this Question!!

the size of Wthe following W-REC 05 A PIC 05 B READLINES A 10 C PIC XX 10 D PIC

05 E OCCURS 7 ZZ 05 F OCCURS 5 10 G PIC 9 10 H OCCURS 15 J 15 K

Rank

Answ

3)

d By :: Suman
ALL Interview .com

stion Asked @ TCS 0

ced this Question!!

come from bottom

3 * 5 =15

5 * ( 8 + 15) 5 = 35

L SIZE =156

r the following RE DIVISION

EN EXTEND IN-

tify the correct nt ganization of is sequential ords can d in the ginning ganization of is sequential ords can d in the d ganization of is indexed and can be n the ginning ganization of is indexed and can be n the end

Rank

Answ

d By :: Suman
ALL Interview .com

stion Asked @ TCS 0

ced this Question!!

s a file whose ATION is .you want to e records the file in fashion as well

ially.then which

Rank

Answ

ss mode would cify? QUENTIAL NDOM NAMIC CESS MODE has to do with it

d By :: Suman
ALL Interview .com

stion Asked @ TCS

ced this Question!!

ic

ACCUMULATE-

YING A FROM 1 BY A >2 ER B FROM1 BY 1 >2 ER C FROM 2 BY L C<2 many times the ph ACCUMULATEwould be d?

Rank

Answ

d By :: Suman
ALL Interview .com

stion Asked @ TCS

ced this Question!!

lt of the B GIVING

Rank

Answer P

r of B/A is

r of A/B is

d By :: Guest I also faced this Question!!


c.C=B/A ALL Interview . com

stion Asked @ TCS

consider two data items 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

ion

Rank

d By :: Guest I also faced this Question!!


b. Z replaces the value zero with blank spaces.... ALL Interview . com

stion Asked @ TCS

consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

ion

Rank

d By :: Guest I also faced this Question!!


b. since PIC 9(5) = 01000 and PIC 9(3) = 250 Hence the result is 01000250 ALL Interview . com

stion Asked @ TCS

ion

What are the two search techniques ?

Rank

d By :: Guest I also faced this Question!!


1.) serial search 2.) binary search ALL Interview . com

ion

What does the initialize statement do ?

Rank

d By :: Guest I also faced this Question!!


in case of numeric variable it makes default value to zero and in case of alphanumeric or alphabetic it makes default value to spaces. ALL Interview . com

ion

When can the USING phrase be included in the call statement ?

Rank

d By :: Guest I also faced this Question!!


When Called Programs Have Inputs and Outputs That shud be provided in using clause ALL Interview . com

ion

What is CALL statement in COBOL?

Rank

d By :: Guest I also faced this Question!!


Call Statement in cobol calls sub program from main program by Content or by reference but default is by reference syntex is CALL program-name by Content/Reference by Var-1, Var-2. ALL Interview . com

ion

What is a subscript ?

Rank

d By :: Guest I also faced this Question!!


Subcript is a working storage variable which gives the occurance value of variable. Its main use is to access the ALL Interview . com

array elements.

ion

What is an index for tables?

Rank

d By :: Guest I also faced this Question!!


index is sama as primary key.... ALL Interview . com

ex:if u open your book, if u can find the index inf rist tow pages. table index is also same as this....

index denotes the displacement value and it is system defined.if you are using index variable with occurs clause,it need not have be defined in the data division.but it should be mentioned as i.e syntax is: levelno(02 to 49) identifier occurs n times indexed by indxname

ion

How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?

Rank

d By :: Guest I also faced this Question!!


The comp-3 Variables are called packed decimals the values internally stored in two digits in single byte and 0.5 byte stores the Sign ie -or + so for ur Question S9(4) Comp-3 takes 3 bytes of space 1234 will occupy Two bytes and Sign takes 0.5 bytes ALL Interview . com

It will be stored as follows: 01 23 4C This is only internal storage representation. But if you display the variable then you will see 1234 not even '+'.

ion

What is the reference modification.

Rank

d By :: Guest I also faced this Question!!


Reference modification is retrieving or Modifying substring of a string. if Reference modification has a negative value then Abend Code is soc4, So be care full while using reference modification Syntex is Move String(First position, Length) to Var-1. ALL Interview . com

ion

What are VS COBOL 11 special features?

Rank

d By :: Guest I also faced this Question!!


Vs Cobol II is the Enhanced Version of Vs Cobol there are Many concept are added like in-line perform, Occures clause has 7 Dimensions registery pointers for extra accesing CICS space Scope terminator. ALL Interview . com

erform ?

Rank

d By :: Guest I also faced this Question!!


In-line Perform is included in Cobol II this was not in Previous version of Cobol. when dont want to take the control to the paragraph want to execute same code for number of times with in same in-line perform is used Syntex is perform until identifier .... ..... ..... end-perform. ALL Interview .com

stion Asked @ Accenture

What is the difference between a subscript and an index in a table definition?

Rank
ALL Interview .com

d By :: Guest I also faced this Question!!


Subscript is the occurance number in the arrary of element. Fr e.g., an array has only one itme that repeats for 20 times, in order to refer to 10th itme in this array, you can say ITEM(20). This '20' can be replaced by a WS variable having value = 20. Index: It is the displacement from the begining. if you remember, when we use Index in a loop, then we do not code Move 2 to WS-INDEX. We have to code. We need to set the index to zero and then increament.

What is the different between index and subscript?

Rank
ALL Interview .com

d By :: Guest I also faced this Question!!


Subscript - refers to the array occurance Index - refers to the byte position/displacement of the occurance from the start of the array

What is the difference between SEARCH and SEARCH ALL? What is more efficient?

Rank
ALL Interview .com

d By :: Guest I also faced this Question!!


SEARCH is a sequential search, it will read all the elements of a table sequentially whereas SEARCH ALL, it will splits the table in two halves and search the element in which half the element find like that the entire table will be searche and also the table should be in sorted order for SEARCH ALL. SEARH ALL is more efficient than SEARCH.

Basha

What is 77 level used for ?

Rank

d By :: Guest

I also faced this Question!!


Independent working storage variables

ALL Interview .com

it refers the elementory itmes

n which you will OPEN a file for writing? I also faced this Question!!
output or i/o mode

Rank Answ ALL

d By :: Guest 0

Question

What divisions, sections and paragraphs are mandatory for a COBOL program?

Rank

d By :: Guest I also faced this Question!!


Identification, Data Divison & procedure division. If any files are there file-section. working storage section ALL

IDENTIFICATION dIVISION AND PROGRAM id ARE MANDATORY

Question

In the JCL, how do you define the files referred to in a subroutine ?

Rank

d By :: Guest I also faced this Question!!


By DDNames ALL

Question

What is the purpose of Identification Division?

Rank

d By :: Guest I also faced this Question!!


To identify the name of the program & for documentation purpose ALL

Вам также может понравиться