Home · Articles · Downloads · Hobby Wear · Forums · Web Links · News CategoriesWednesday, April 18, 2018
Hobby Wear
Web Links
News Categories
Contact Us
Photo Gallery
OpenVMS Bigot
Users Online
Guests Online: 5
No Members Online

Registered Members: 7,092
Newest Member: csharlesjeones
PdfFactory Pro Enterprise 2.31, MATFOR 4.00.061031 in Lahey Fortran, Adobe PhotoShop 9.0 CS2 oem, Trend Micro InterScan VirusWall 6.0, Adobe Acrobat 7.0 Professional sale, Salon Iris 5.05, Drafix Pro Landscape 11.2, oem Adobe PhotoShop CS 8.0 cheap buy, Catia 5 R12 P3 with SP2, Mcafee Secure Internet Gateway 4.5, oem Adobe Acrobat Professional 8 oem, Visual UML 4.1 Developer Edition, sale Adobe CS3 Design Premium Vol for Mac low price, Nuance Dragon Naturally Speaking 9.0 Professional With SP1, Adobe After Effects Plugins, low price AutoCAD 2006 cheap buy, Avid NewsCutter XP 3.8, The Movie Library 1.7.11, oem Adobe Creative Suite Premium Edition 2.0, ProFlyers 6.0 PDF Forms for Adobe Acrobat, PTC Pro Engineer Routed Systems Designer 5.0, sale DVDXCopy Platinum 4.0.38, CyberBizPlan v1.0.165 WinAll, NeverCenter Silo 1.16b, cheap buy AutoCAD 2005, Norton Save And Restore 11, sale Adobe Creative Suite 3 Design Premium sale, Adobe Premiere Plugins Collection 2007, cheap buy Adobe Creative Suite Premium Edition 2.0 for Mac sale, Active Desktop Calendar 6.5.061124, sale Adobe Acrobat 6.0 Professional, X-Rite MonacoPROFILER Platinum 4.8, EmailUnlimited 6.1 Win98NTME, oem Adobe Photoshop CS3 Extended sale
Island Computer
View Thread
OpenVMS Hobbyist Program | Hobbyists and OpenVMS | How I Use OpenVMS
Author Packed Decimal in Openvms

Posts: 4
Joined: 15.08.17
Posted on August 15 2017 08:16
I have couple fields in the file which defined as PIC S9(4) COMP-3. When I display file (TYPE FILENAME) data appears as ASCII 26 (SUsmiley. How can I see real numeric value? Also when I FTP file to the text format how I can covert ASCII 26? Will appreciate forum's help.
Author RE: Packed Decimal in Openvms

Posts: 93
Joined: 12.03.10
Posted on August 15 2017 12:25
The COMP-3 field is a binary format used primarily by COBOL. It encodes 2 decimal digits within a single byte and thus will save on storage requirements. While this was important many years ago when computer systems had memory in the kilobyte range, saving storage is not the primary factor anymore. If you are moving data from one system to another, I would simply code a program to read the binary data and create a straight text file as the output. This can then be FTP'd to the target system. Please note that the receiving program may also need to be updated to read the straight text file.

An alternative is to use a BINARY transfer which should retain the format of the records. Since you don't specify what the data is for, I can't tell whether or not a binary transfer will work as expected.

I hope this helps a bit.

Author RE: Packed Decimal in Openvms
Bruce Claremont

Posts: 498
Joined: 07.01.10
Posted on August 16 2017 02:30
Binary transfer will preserve the packed decimal. You can read the packed decimal values via a DUMP if so desired. However, a better method would be to use a COBOL or similar program that recognizes packed decimal data and unpack the fields.
Author RE: Packed Decimal in Openvms

Posts: 4
Joined: 15.08.17
Posted on August 16 2017 13:37
Dan, Bruce thank you very much for reply!
Jump to Forum:


Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Member Poll
Are you going to OpenVMS Boot Camp 2016?



You must login to vote.
You must login to post a message.

April 05 2018
ah maybe they love that!

March 24 2018
Probably. More people hang out on the comp.os.vms newsgroup.

March 23 2018
I have a PE42A and other Alpha system stuff for sale. I'm in So California. Any interest out there?

February 27 2018
To Prohorenko. Please, visit group OpenVMS in the ok.ru

February 24 2018
How much does it cost to buy a complete OpenVMS hardcopy documentation set of the latest version

February 17 2018
Please help to obtain the license on OpenVMS

December 12 2017
HPE only makes the most current version of OpenVMS Alpha / IA64 /VAX available to hobbyists. When I had access to the Alliance 1 program it was the same. No public downloads are allowed by HPE.

December 08 2017
Is anybody knows OpenVMS 8.2 version downloadable version? or CD copy? Thank you very much

December 02 2017
Bitcoin and Blockchain enthusiasts ( plus distributed computing ) please connec / reply: http://www.openvmshobbyis

September 10 2017
lation/ For the most part just use VMS 6.1 media instead of 7.3. But why run the older release?

August 07 2017
Where can I find the write up on running VMS 6.1 using the simh emulator?

March 20 2017
Happy to have found my password again!

March 16 2017
peteherrera. Agreed.

March 04 2017
It would be nice to be able to buy the lastest hardcopy full OpenVMS docset at a very reduced price through the Hobbyist program. smiley

February 05 2017
Decus > Connect > Encompass<Country>

Shoutbox Archive