Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Initialize a group data which is containing occur clause

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Initialize a group data which is containing occur clause
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    Post subject: hi
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    Post subject:
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    Post subject: Re: COBOL QUESTION
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us