Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts column with count of rows within dist... ronald wouterson DB2 4 Sun Sep 17, 2017 9:48 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us