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 (SU. 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.
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.
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.
malmberg 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.
nmbonao December 08 2017 Is anybody knows OpenVMS 8.2 version downloadable version? or CD copy? Thank you very much
aarommes December 02 2017 Bitcoin and Blockchain enthusiasts ( plus distributed computing ) please connec / reply: http://www.openvmshobbyis t.com/forum/viewthread.ph p?forum_id=130&thread_id= 2991
malmberg September 10 2017 https://sourceforge.net/p /vms-ports/wiki/VMSInstal lation/ For the most part just use VMS 6.1 media instead of 7.3. But why run the older release?
DoeveR August 07 2017 Where can I find the write up on running VMS 6.1 using the simh emulator?
Bart March 20 2017 Happy to have found my password again!