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 difference between comp and comp-3 usage?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What are different data types in 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 define single dimensional array and multidimensional array in your cobol?
how can i see junk values in dclgen or in hostvariable of comp ?
Explain what you understand by passing by value.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How do u write test cases?
how to access the file from prodution from changeman tool and to submit a file to production
What is amode(31)
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Explain about different table spaces.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Name the sections present in data division.