What does the initialize statement do ?

Answers were Sorted based on User's Feedback



What does the initialize statement do ?..

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

What does the initialize statement do ?..

Answer / viji

Also,
FILLER , and OCCURS DEPENDING ON items are left untouched.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

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.

2 Answers   L&T,


How can we increase the size of an existing PDS to include more no. of modules.

3 Answers  


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

5 Answers   TCS,


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

0 Answers  


Can we access the a[0] in the array ?

6 Answers   DCL, IBM,






Please let me know at which Scenarios we will go for STATIC call or DYNAMIC

3 Answers   IBM,


What is the difference between structured cobol programming and object alternativelyiented cobol?

0 Answers  


can any one give good example for cond 88 level number and for renames pls urgent dudes ?

3 Answers   DELL,


2)Where the Plan is located in CICS-DB2?

1 Answers   IBM,


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

6 Answers   Wipro,


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)?

1 Answers   CGI,


Why we should use cursor ?

3 Answers  


Categories