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: 8280
Location: Dubuque, Iowa, 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 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts Default attributes for undeclared SYS... Alan Playford PL/I & Assembler 3 Wed Apr 11, 2018 5:18 pm
No new posts Group changes and numbering the groups Auryn DB2 2 Tue Mar 20, 2018 7:12 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us