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

can internal sort be applied to sort ksds files?

1 Answers  


) How do u handle errors in BMS macro?

0 Answers   IBM,


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

0 Answers   HCL,


What is the meaning of 'TALLING' verb in cobol?

5 Answers  


What are the various section in data division and briefly explain them.

0 Answers  






what is the difference between COBOL2 AND COBOL390?

0 Answers   L&T,


how we rectify soc4 and soc7 error in project(need real time answer)? please reply

3 Answers   HCL, Wipro,


When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.

1 Answers   CTS,


period is missing in the cobol program which error we getting

5 Answers   TCS, Tesco,


IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why

3 Answers  


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

2 Answers   IBM,


9(2).99 how many bytes take? Why . consider as a byte?

2 Answers  


Categories