COBOL User Groups COBOL COBOL Programming
Home | Search | Join COBUG | Call for User Group Leaders | Contact | About
COBOL Jobs | Submit Resumes | Post Jobs | COBOL Forums | Advertise with us

COBOL Resources

 >  Blogs
 >  Books
 >  Code Samples
 >  Courses
 >  Forums
 >  Knowledge Bases
 >  Magazines
 >  Manuals
 >  Portals
 >  Support
 >  Tutorials
 >  User Groups
 >  White Papers

COBOL Software

 >  Change Management
 >  Code Conversion
 >  Compilers
 >  Data Access
 >  Database
 >  Documentation
 >  Editors
 >  File Conversion
 >  GUI
 >  Modernization
 >  Report Generators
 >  Sort
 >  Terminal Emulators
 >  Test
 >  Tools
 >  Trans. Processing

COBOL Information

 >  Events
 >  Job Resources
 >  News Articles
 >  Newsletters
 >  Product News
 >  Standards

Support COBUG

COBOL Donation
 

COBOL Forums

 
COBOL Language [ return ]
From Message
Samantha

 Email

4/19/2006
09:35:13
Subject: Cobol code


Message:
I am working on the as/400 environment and need to know how to enter the date in I have 8 nines like this: date pic 99999999. Is the correct way I was confused about the / in between the month and the day and year.


JWL

4/19/2006
12:56:40
RE: Cobol code


Message:
Hi Samantha,

The pic to store the date would be pic 9(08) and the pic for the edit (input of date) would be one of the following, depending on whether the date is yyyymmdd or ddmmyyyy or mmddyyyy Pic 9999/99/99 for the first and pic 99/99/9999 for the last two. The slash is used for readability while entering the date or printing/displaying the date.

regards
James


 
[ Go to Top of Page ]
COBOL NuTrak Ad



Local COBOL User Groups
COBOL User Group Check out the list of local COBOL user groups from around the world and join a user group near you.


Call for User Group Leaders!
COBOL User Groups Get Involved! We are looking for user group leaders to help organize and coordinate a local COBOL user group.

Join COBUG!
COBOL User Groups Become a part of the COBUG community today. Join Now ...


COBOL Forums
COBOL Forum Try our forums for help!
Let the COBUG members help you. Post your issues!



COBOL Job Resources
COBOL Jobs Here are references to a wealth of job resources, including job listing sites, resume preparation, and interview questions.


Job and Resume Matchmaker!
COBOL Jobs Employers submit your COBOL job openings. Job seekers submit your resumes.

COBOL (c) Information Computing Services. All Rights Reserved. COBOL