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: 8124
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 Unable to copy data from spool in a d... srikant314 JCL & VSAM 2 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts copying data without knowing location Arun Raj DFSORT/ICETOOL 12 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm


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