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 is 66 level number and where it is used in real time by software developers?
2 Answers ITC Indian Tobacco Company, TCS,
which is faster either static call or dynamic call ? and specify the reasons for it ? reply fast
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.
how do u list the abended jobs?
If we use GO BACK instead of STOP RUN in cobol?
We know that size of redefine and redefining need not to be same..Then does the below case true 01 ws-date pic 9(6). 01 ws-redf-date REDEFINES ws-date 05 ws-year pic 9(4) 05 ws-mon pic 9(2) 05 ws-day pic 9(2)
How many bytes do a s9 (7) comp-3 field occupy?
How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one
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?
what is meant by binary search?
how do u indetify files succesfully executed or not ?