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
 

 

Default usage(data type) of Group level element

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Thu Jan 14, 2010 11:50 pm    Post subject: Default usage(data type) of Group level element
Reply with quote

Hello everyone,

I need to know the default usage of Group level element.

For example,

01 Date.

05 mm pic 9(02).
05 dd pic 9(02).
05 yy pic 9(02).


Then what are the different ways we can use Date directly, both as numeric and also alphanumeric and what is it's defult data type?
Say for example some value being moved into Date.


Also, i would appreciate to know a case where the elementary items are both numeric and alphanumeric then what will be the default data type of the group level element. Plaese let me know it's usage with example.


Thanks.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7932
Location: Bellevue, IA

PostPosted: Fri Jan 15, 2010 12:05 am    Post subject:
Reply with quote

There is a link to the manuals at the top of the page. Click on it, find the COBOL Language Reference manual, and read section 5.1.6.5 to find out what type of data groups are considered in COBOL. You can also find out -- in this very same manual -- exactly what types of moves for this data type are supported (both to and from the group). I'll leave finding that section as an exercise for you.
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