What is diff betn PS and ESDS file?
What is the diffrent compiler options in cobol and there
discription?
What is retrive nth maximum salary from salary DB2 table.
Can we redefine COM-3 variable with varchar variable?

Answers were Sorted based on User's Feedback



What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there disc..

Answer / vikas pujar

What is diff betn PS and ESDS file?
1. Can use ESDS in CICS
2. ESDS will have data component and creation of ESDS is
not possible thru 3.2 option.
3. Can rewrite records in ESDS.

The ESDS and PS are similar on some fronts, so this
question may confuse. They r similar in way that, only
sequential processing can be done on both and records
cannot be deleted from both.


What is the diffrent compiler options in cobol and there
discription?
1. COMPILE - NOCOMPILE
Explanation : These decide whether to produce obj code when
encounter some error. If use NOCOMPILE only syntax chk done
no obj code produced. If use COMPILE obj code will be
produced even if severe syntax errors r encountered.

2. LIB - NOLIB
Explanation : If use COPY statement in prog use LIB.

3. DYNAM - NODYNAM
Explanation : DYNAM - for dynamic call of sub prog.

4. SSRANGE - NOSSRANGE
Explanation : Used to identify out of boudry access of
occurs.

5. OPTIMIZE - NOOPTIMIZE
Explanation : As name suggests Optimize used to produce
optimized code, compilation time wil be more, but run time
will be less.


Can we redefine COMP-3 variable with varchar variable?
Yes we can always. Redefine is just addressing memory with
diff name and pic clause.

Is This Answer Correct ?    6 Yes 1 No

What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there disc..

Answer / vamshi

Disagree with second point for question 1.

It is possible to create ESDS (In fact any VSAM Dataset)
using the option 3.2.V (V --> VSAM UTILITIES)

Is This Answer Correct ?    1 Yes 0 No

What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there disc..

Answer / suputhru

hey vikas,

you given the bumper offer.

Is This Answer Correct ?    0 Yes 0 No

What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there disc..

Answer / neeraj

I think Records can be deleted from ps files.

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More COBOL Interview Questions

what is the default print format? in cobol

3 Answers   HSBC,


I have the requirement to compare the two files and pick up the matching records. File 1. file2 23 32 32 13 34 15 35 36 36 35 43 Get the matching records from this 2 files to out file. how you will do this in cobol program?

15 Answers   ADP, Broadridge, CTS, HSBC, L&T, RBS, TCS,


Define in-line perform?

1 Answers  


Wat is the difference between NEXT and CONTINUE statement in cobol,can any one explain with example.

11 Answers   Deloitte,


Why IBM?

1 Answers   IBM,






If i have a variable A pic 9(2) value 10 Compute A = a - 100 what will be the value of A and will there be any error becoz of the Negative value

3 Answers   CTS,


How To move a value to an array using move verb?

3 Answers   IBM,


What type of SDLC u followed? Why?

0 Answers   IBM,


how do you move only numeric data from A to B 01 A pic x(10) value 'a1b2c34d5e'. 01 B pic x(5).

2 Answers   DELL, Mind Tree,


there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it

3 Answers   TCS,


IF I mention stop run in CICS what happens?

0 Answers   IBM,


can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?

3 Answers   IBM, Satyam,


Categories