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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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