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
 
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: 8165
Location: East Dubuque, Illinois, USA

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 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