what is the difference between occurs and occurs depending
on? i dont think so there is the difference in
storage..then why we should use occurs depending on?
Answer Posted / tripti
IF AN INTERNAL TABLE OCCURS 100 TIMES.
I USE OCCURS DEPENDING ON <NUMBER OF RECS IN INPUT FILE>
CLAUSE WHILE DECLARING THE TABLE
MY INPUT FILE HAS 125 ITEMS.
CAN I ACCESS 125TH ITEM IN THE FILE USING THE INTERNAL
TABLE?
MY ANSWER ID YES. IN DEPENDING ON <XX> CLAUSE XX OVERWRITES
THE OCCURS CLAUSE
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the LINKAGE SECTION used in COBOL?
Explain about different table spaces.
What is the difference between a binary search and a sequential search what are the pertinent cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
how to access the file from prodution from changeman tool and to submit a file to production
what is amode(24), amode(31), rmode(24) and rmode(any)?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
i need a small 3d program using inline and outline.
how to refer the data field?
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.
What is the difference between structured cobol programming and object alternativelyiented 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.
How do you reference the following file formats from cobol programs?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is rmode(any) ?