IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Initialize a group data which is containing occur clause


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nandinihb

New User


Joined: 10 Dec 2005
Posts: 11
Location: b'lore

PostPosted: Mon Feb 27, 2006 12:05 pm
Reply with quote

HI,
how to initialize a group data which is containing occur clause?


THANKS
Back to top
View user's profile Send private message
winchaat

New User


Joined: 23 Mar 2005
Posts: 14

PostPosted: Mon Feb 27, 2006 4:20 pm
Reply with quote

01 aa.
02 a1 pic 9(5) occurs 5 times.



INITIALIZE aa.



or

redefine occurs clause value with any other variable which contains zeroes.
Back to top
View user's profile Send private message
umeshkmrsh

New User


Joined: 21 Sep 2005
Posts: 79
Location: India

PostPosted: Mon Feb 27, 2006 4:38 pm
Reply with quote

I agree with winchaat's reply.

Why are you facing problem in this? There shouldn't be any problem in initialization.

icon_biggrin.gif
Back to top
View user's profile Send private message
dayakar305

New User


Joined: 27 Feb 2006
Posts: 1

PostPosted: Tue Feb 28, 2006 10:20 am
Reply with quote

You can Initialize with occurs clause.

Perform 5 times

Initialize a1

End-perform.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top