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
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 |
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 are differences between COBOL and java ? why we are giving more preference to COBOL ?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
can we use COPY statement in w-s section? how?
What is report-item in COBOL?
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
What is Static and Dynamic linking ?
What is the difference between a subscript and an index in a table definition?
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?
Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.
is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon
I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?