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