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 |
can internal sort be applied to sort ksds files?
) How do u handle errors in BMS macro?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the meaning of 'TALLING' verb in cobol?
What are the various section in data division and briefly explain them.
what is the difference between COBOL2 AND COBOL390?
how we rectify soc4 and soc7 error in project(need real time answer)? please reply
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.
period is missing in the cobol program which error we getting
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
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?
9(2).99 how many bytes take? Why . consider as a byte?