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
What are the access modes of START statement?
Which is not true about evaluate statement
For rewrite, why is it mandatory that file needs to be opened?
What are the various section in data division and briefly explain them.
how to move the records from file to array table. give with code example
What is the compute verb? How is it used?
How do you get the data to code the BMS macro?
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 ......
What are the different rules to perform a Search?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What are declaratives and what are their uses in cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Which Search verb is equivalent to PERFORM…VARYING?
What the difference is between continue and next sentence?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.