View previous topic :: View next topic
|
Author |
Message |
NeerajNema
New User
Joined: 24 Jan 2007 Posts: 5 Location: Mumbai
|
|
|
|
I want to map one packed decimal date,which is in IMS database,
EXP PIC S9(6) PACKED-DECIMAL
to simple decimal variable.
Date format in IMS database is YYYYDD.
Could u pls let me know what format and size ,I should use in my working storage variables.
Thanks!!
Neeraj |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
For the field in your program you could use PIC 9(6). |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Neeraj,
Do you mean a date format of YYMMDD?
Don't understand YYYYDD |
|
Back to top |
|
|
NeerajNema
New User
Joined: 24 Jan 2007 Posts: 5 Location: Mumbai
|
|
|
|
Sorry!!! date format is YYYYMM.
Thanks
Neeraj |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
As suggested, use 9(6). |
|
Back to top |
|
|
|