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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the divisions, which are available in a cobol program?

673


Which mode is used to operate the sequential file?

654


Whats the difference between search & search ALL?

5233


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1794


) How do u handle errors in BMS macro

1497






What are the different types of condition in cobol and write their forms.

647


How can you get the ksds file records into your cobol program?

634


What is the difference between binary search and sequential search?

631


Difference between array and sub-script ?

1149


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

631


what is the difference between COBOL2 AND COBOL390?

2438


what is search and searchall?what is the diffrence between them?give an best example?

5522


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

671


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

691


Can we redefine the field of x(200) to less than 200?

805