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 |
i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2
What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
How do you define a table/array in COBOL?
What is the use of intialize verb?
can we use full outer join with cursors declared in cobol program?
which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks
study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid
How many maximum number of procedures can we write in one COBOL program?
There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.
what is the difference b/w level no.01 & level no.77?
What kind of error is trapped by on size error option?