What does the initialize statement do ?
Answers were Sorted based on User's Feedback
Answer / shashank
in case of numeric variable it makes default value to zero
and in case of alphanumeric or alphabetic it makes default
value to spaces.
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / viji
Also,
FILLER , and OCCURS DEPENDING ON items are left untouched.
Is This Answer Correct ? | 4 Yes | 0 No |
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
How can we increase the size of an existing PDS to include more no. of modules.
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
Can we access the a[0] in the array ?
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
What is the difference between structured cobol programming and object alternativelyiented cobol?
can any one give good example for cond 88 level number and for renames pls urgent dudes ?
2)Where the Plan is located in CICS-DB2?
When the working storage variables get allocated? a.At Compile time b.At starting of the run time c.At end of the run time. d.None of these
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
Why we should use cursor ?