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 Why TS/OP would Not contact site supp... RahulG31 All Other Mainframe Topics 2 Wed Mar 22, 2017 7:46 am
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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