Technical Tips from Neil Armstrong. No, not the Astronaut but the person responsible for Robelle products on MPE, HP-UX and Linux. Lot's of tips to manipulating data in multiple ways.
Thursday, December 8, 2016
HP-UX for MPE users
Thursday, December 1, 2016
HP MPE Manuals and Papers
HP MPE Manuals
ALLBASE NET User’s Guide
ALLBASE/SQL Advanced Application Programming Guide
ALLBASE/SQL C Application Programming Guide
ALLBASE/SQL COBOL Application Programming Guide
ALLBASE/SQL Database Administration Guide
ALLBASE/SQL FORTRAN Application Programming Guide
ALLBASE/SQL Message Manual
ALLBASE/SQL Pascal Application Programming Guide
ALLBASE/SQL Performance and Monitoring Guidelines
ALLBASE/SQL Reference Manual
APPC Subsystem on MPE/XL Node Manager’s Guide
Accessing Files Programmer’s Guide
Accessing Files Programmer’s Guide
Add-On Membory Card Installation Guide, 99X and T-Class
Allbase/SQL Reference Manual
Allbase/SQL Release 3 Notes
Allbase/SQL Release G2 Release Notes
Asynchronous Serial Communications Programmer’s Reference Manual
Auto/Restart/XL User’s Guide
Avoiding Pitfalls in Multi-language ProgrammingHigh Availability Cluster/iX User’s Manual
BSTORE Reference Manual
Basic System Problem Analysis
Berkeley Sockets/iX Reference Guide
CI Programming 2004 HP World
CPU Upgrade Manual (9x9KS)
Command Interpreter Access and Variables Programmer’s Guide
Communicator 3000 (6.0)
Communicator 3000 (6.5)
Communicator 3000 (PowerPatch 1 based on 6.0)
Communicator 3000 (PowerPatch 7 based on 5.5)
Communicator 7.0 PowerPatch 2
Communicator 7.5
Communicator MPE/IX 6.5 PP 5
Communicator MPE/iX 6.5 Express 2
Communicator MPE/iX 6.5 PP 6
Communicator MPE/iX 7.0 Express 1
Communicator MPE/iX 7.0 PP3
Communicator MPE/iX 7.5 PP 1
Communicator MPE/iX 7.5 PP 5
Communicator MPE/iX 7.5 PP2
Communicator MPE/iX 7.5 PP3
Configuration and Managing MPE/iX Internet Services
Configuring Systems for Terminals, Printers, and Other Serial Devices
Configuring Systems for Terminals, Printers, and Other Serial Devices
Configuring and Managing Host-Based X.25 Links
Configuring and Managing MPE/iX Internet Services
Configuring and Managing MPE/iX Internet Services
Configuring and Managing MPE/iX Internet Services
Customizing Terminal and Printer Type Files with the Workstation Configurator
DBChange Plus Technical Addendum for MPE/iX Release 4.0
DBChange Plus User’s Guide
DCE for the HP 3000
DCE for the HP e3000
Data Types Conversion Programmer’s Guide
Database Management system Reference Manual
Database Update
Dictionary/3000
EDIT/3000 Reference Manual
Enhancing the HP e3000 User Interface
Expansion Cabinet Installation Guide (99X/Family)
FC MPE Paths
FCOPY Reference Manual
Firmware Update Guide (99X/Family)
Firmware Update Quick Reference (99X/T-Class)
Generic Disk Driver Enhancement
Getting Started as an MPE/iX Programmer
Getting Started with HP IMAGE/SQL
Getting Started with Sendmail
HAFO Training Session
HP 3000 9X9KS Site Preparation and Requirements Guide
HP 3000 CS 99x/890/T500 Families Operator’s GuideA
HP 3000 MPE/iX System Software Maintenance Manual (5.5)
HP 3000 MPE/iX System Software Maintenance Manual (6.0)
HP 3000 MPE/iX System Software Maintenance Manual (6.5)
HP 3000 Machine Instruction Set
HP 3000 Middleware
HP 3000 Series 9X8LX Computer Systems: Commands Reference
HP 3000 Series 9X8LX Computer Systems: Getting Started
HP 3000 Series 9X8LX Computer Systems: Task Reference Man- ual
HP 3000 Series 9X8LX Computer Systems: Understanding Your System
HP 3000 Series 9X8LX/RX Computer Systems Inst. and Configu- ration Guide
HP 3000 and HP 9000 PA-RISC Computer System Support Log
HP 3000/iX Network Planning and Configuration Guide
HP ALLBASE/4GL Developer Administration Manual
HP ALLBASE/4GL Developer Quick Reference Guide
HP ALLBASE/4GL Developer Reference Manual Vol 1
HP ALLBASE/4GL Developer Reference Manual Vol 2
HP ALLBASE/4GL Developer Self-Paced Training Guide
HP ALLBASE/BRW Reference Manual
HP ALLBASE/BRW SW Update Notice for MPE/iX (BRW A.01.50)
HP ALLBASE/BRW Tutorial
HP ARPA File Transfer Protocol User’s Guide
HP Allbase / 4GL Software Update Notice
HP Allbase/4GL
HP Browse/XL User’s Guide
HP Business Basic/XL Reference Manual
HP C Programmer’s Guide
HP C/iX Library Reference Manual
HP C/iX Reference Manual
HP COBOL II/XL Programmer’s Guide
HP COBOL II/XL Quick Reference Guide
HP COBOL II/XL Reference Manual
HP Data Entry and Forms Mgmt System (VPLUS) Reference Manual
HP Driver for JDBC User’s Manual
HP EDIT Reference Manual
HP Edit Reference Manual
HP FORTRAN 77/iX Migration Guide
HP FORTRAN 77/iX Programmer’s Guide
HP FORTRAN 77/iX Reference Manual
HP GlancePlus User’s Manual
HP IMAGE/SQL Administration Guide
HP Link Editor/iX Reference Manual
HP Link Editor/iX Technical Addendum
HP OpenView Console Manager’s Guide
HP OpenView Console User’s Guide
HP PA-RISC Computer Systems Integrated Cabinet Installation Guide (9X9KS)
HP PA-RISC Computer Systems System Upgrade Guide (9X9KS)
HP Pascal/iX Programmer’s Manual
HP Pascal/iX Reference Manual
HP Performance Collection Software User’s Manual
HP RPG/XL Programmer’s Guide
HP RPG/XL Utilities
HP RPG/iX Reference Manual
HP RPG/iX Reference Manual Software Update Notice
HP SNA Products Remote System Configuration Guide
HP SNMP/XL User’s Guide
HP SRC Technical Addendum
HP Search/XL User’s Guide
HP Security Monitor/iX Manager’s Guide
HP Security Monitor/iX User’s Guide
HP Symbolic Debugger/iX User’s Guide
HP System Dictionary XL Gen Ref. Vol. 2
HP System Dictionary/XL Cobol Definition Extractor Reference Manual
HP System Dictionary/XL SDMAIN
HP System Dictionary/XL Utilities
HP TRANSACT Documentation Update Notice
HP TRANSACT Quick Reference Guide
HP TRANSACT Reference Manual
HP Telnet/iX User’s Guide
HP Transact Documentation Update Notice
HP e3000 Web Server CGI Programming
HP e3000 fibre Channel Mass Storage Adapters Service and User Manual
HP e3000/iX Network Planning and Configuration Guide
HP-PB 100Base-T Network Adapter Installation and Service Guide
HP-PB 100VG-AnyLAN Network Adapter Installation and Ser- vice Guide
HP3000/9x9KS Installation Guide3000-9x9ks
High-Level Screen Management Intrinsics Library Reference Manual
I/O Upgrade Manual (9X9KS)
IPC Communications Programmer’s Guide
ISQL Reference Manual for ALLBASE/SQL and IMAGE/SQL
Image threads Investigation Report
Installation Guide (99X Family)
Installation Guide HP 30000 9x9KS
Installation/Upgrade Procedures for SHAREPLEX
Installing and Managing HP ARPA File Transfer Protocol Network Manager’s Guide
Internal Peripherals Update Guide (9X9KS)
Introduction to MPE/XL for MPE V Programmers
Introduction to MPE/XL for MPE V System Administrators
Introduction to MPE/XL for MPE V System Administrators
Is Your e3000 Environment Secure
KSAM/3000 Reference Manual
LU 6.2 API Application Programmer’s Reference Guide
Learning HP EDIT
Legato NetWorker ClientPak and Storage Node for MPE/iX Users Guide
Legato NetWorker ClientPak and Storage Node for MPE/iX Installation Guide
Legato NetWorker ClientPak for MPE/iX Installation Guide
Legato NetWorker ClientPak for MPE/iX Release 5.0 Supplement
Legato NetWorker ClientPak for MPE/iX Users Guide
Legato Networker ClientPak and Storage Node for MPE/iX Release 5.5 Supplement
LineJet Printers Cabinet and Pedestal Model Installation Instructions
MPE 7.5 Transitions
MPE CI Programming for 7.5
MPE Segmenter Reference Manual30000-90011
MPE System Analysis
MPE V to MPE XL: Getting Started Mentor’s Guide
MPE V to MPE XL: Getting Started Self-Paced Training
MPE/iX 7.5 Enhancements
MPE/iX 7.5 Performance
MPE/iX 7.5 Update
MPE/iX AIF: OS Reference Manual
MPE/iX Commands Reference Manual
MPE/iX Commands Reference Manual
MPE/iX Commands Reference Manual
MPE/iX Commands Reference Manual
MPE/iX Developer’s Kit Reference Manual Vol 1
MPE/iX Developer’s Kit Reference Manual Vol 2
MPE/iX Documentation Guide
MPE/iX Documentation Guide
MPE/iX Error Messages Manual Vol 1
MPE/iX Error Messages Manual Vol 2
MPE/iX Error Messages Manual Vol 3
MPE/iX Error Messages Manual Volume II
MPE/iX Error Messages Manual Volume II
MPE/iX Error Messages Manual Volume III
MPE/iX Glossary of Terms and Acronyms
MPE/iX Glossary of Terms and Acronyms
MPE/iX Glossary of Terms and Acronyms
MPE/iX HP 3000 Series 99X Software Startup Manual
MPE/iX Intrinsics Reference Manual
MPE/iX Intrinsics Reference Manual
MPE/iX Intrinsics Reference Manual
MPE/iX Quick Reference Guide
MPE/iX Quick Reference Guide
MPE/iX Shell and Utilities Reference Manual Vol 1
MPE/iX Shell and Utilities Reference Manual Vol 2
MPE/iX System Utilities Reference Manual
MPE/iX System Utilities Reference Manual
MPE/iX System Utilities Reference Manual
Manager’s Guide to MPE/iX Security
Mark Bixby Internet and Interoperability Update
Mark Bixby Is Your e3000 Environment Secure
Mark Bixby Open-Source Development on MPE
Message Catalogs Programmer’s Guide
Migration Process Guide30367-90019
Migration Process Guide
Mirrored Disk/iX User’s Guide30349-90005
Mirrored Disk/iX User’s Guide
NBSpool Release Notes Version 9.7
NBSpool for MPE Reference Guide
NS 3000/iX Error Messages Reference Manual
NS 3000/iX NMMGR Screens Reference Manual
NS 30000/iX Operations and Maintenance Reference Manual
NS3000/iX Error Messages Reference Manual
NS3000/iX NMMGR Screens Reference Manual
NS3000/iX Operations and Maintenance Reference Manual
Native Language Programmer’s Guide
Native Mode Spooler Reference Manual
NetBase Release Notes Version 9.7
NetBase SQL Shadowing Handbook
NetBase for MPE Reference Guide
NetIPC 3000/XL Programmer’s Reference Manual
NetIPC to BSD Sockets and DSCOPY to FTP
Network Performance: An MPE/iX Overview
Network Performance
Network Security: An MPE/iX Overview
New Features of MPE/iX: Using the Hierarchical File System
ODBCLINK/SE Reference Manual
ODBCLink/SE Reference Manual
OnOn Hong Internet Security on your HP 3000
Operator’s Guide (99X Family)
Optimizing Backup with HP Turbo Store/iX
Options for Managing a DTC Remotely
PCL-II LinePrinter Plus
Performance Migrated Applications
Performance of Migrated HP e3000 Applications Kevin Cooper
Performing System Management Tasks
Performing System Operation Tasks
Perl Programming on MPE/iX 2001
Perl Programming on MPE/iX
Porting Open Source applications on MPE/iX
Power Patch 5 Communicator for MPE/iX 5.5
Process Management Programmer’s Guide
Programming and Posix HP
Programming and Posix SS 2001
Programming and Posix
QMS Code V Technical Reference Manual
QRG HP Software Revision Controller
QUERY Reference Manual for MPE/iX
Query/V Reference Manual
Resource Management Programmer’s Guide
SCSI Fibre Channel Router
SCSI Pass Through Programmers Guide
SCSI-FC Router
SCSI-Fibre Channel Router Support Handbook
SIB 04 CI Info functions
SNA IMF Programmer’s Reference Manual
SNA IMF/XL Node Manager’s Guide
SNA Link/iX Node Manager’s Guide
SNA NRJE Node Manager’s Guide
SNA NRJE User/Programmer Reference Manual
SORT-MERGE/XL General User’s Guide
SORT-MERGE/XL Programmer’s Guide
SPL to HP C/XL
STORE and TurboSTORE/iX Products Manual
Securing FTP on MPE/iX
Server Side Java with Apache/iX
Site Preparation and Requirements Guide (99X Family)
Software Maintenance Manual MPE/iX 6.5
Sort-MERGE/XL General Users Guide
Sort-Merge/XL Programmer’s Guide
Store and TurboStore/iX
Switch Programming Guide
System Debug Reference Manual
System Debug Reference Manual
System Debug Reference Manual
System Dictionary/XL General Reference VOL 1
System Memory Upgrade Guide (9X9KS)
System Software Maintenance Manual C.75.00
System Startup, Configuration, and Shutdown Reference Manual
System Startup, Configuration, and Shutdown Reference Manual
System Startup, Configuration, and Shutdown Reference Manual
System Upgrade Installation Guide (CS 99X Family) (991/995 to 996)
System Upgrade Installation Guide (CS 99X Family) (990/992 to 996)
System Upgrade Installation Guide HP 3000 99x Family, T-Class
Systems Programming Language Reference Manual
Trap Handling Programmer’s Guide
Troubleshooting Terminal, Printer and Serial Device Connections
Troubleshooting Terminal, Printer, and Serial Device Connections
TurboIMAGE/XL Database Management System Reference Manual
TurboImage Database tools
Turbostore 7×24 Overview
Up and Running with ALLBASE/SQL
User Logging Programmer’s Guide
User’s Guide to MPE/iX Security
Using HP 3000: Advanced Skills Tutorial
Using HP 3000: Fundamental Skills Tutorial
Using KSAM XL
Using KSAM/XL
Using NS 3000/iX Network Services
Using NS3000/iX Network Services
Using SNA IMF Pass Thru
Using VPLUS An Intro to Forms Design Self-Paced Training Guide
Using VPLUS An Introl to forms Design Self-Paced Training Guide
Using the HP 3000 Workload Manager
Using the Node Management Services (NMS) Utilities
Using the Node Management Services NMS Utilities
VISTA Plus for MPE Administrators Guide
VISTA Plus for MPE User’s Guide
VISTA Release Notes Version A.07
Volume Management Reference Manual
Web Enabling Your HP e3000 Applications and Data Access
How Do I Convert CM KSAM to NM KSAM
How Do I Convert CM Ksam to NM KSAM?
Suprtool can't/won't create a new NM KSAM file for you. You will have to create the new NM file first using the MPE BUILD command (or some other method, see below), then use Suprtool to copy the records from the old file to the new file.But Suprtool should definitely be able to copy the data *much* faster than MPE's FCOPY utility could.
The trick, of course, is getting a new NM KSAM file built correctly first. You could use a complicated BUILD command or you could do this:
:file n=newfile; disc=
That will create a new NM KSAM file called NEWFILE with the FLIMIT equal to the FLIMIT of your current CM file, and with all the keys set up correctly, but will copy only a single record into it. Then use Suprtool:
:suprtool >in oldfile >out newfile, erase >xeq
Finally, if it's a big KSAM file you may wish to create it as temporary first, then SAVE it after you're done, to squeeze even more speed out of the process:
:file n=newfile; disc=; temp <<-- Note the temp designation :fcopy from=oldfile; to=(*n); subset=0,1 :suprtool >in oldfile >out newfile, erase >exit :save newfile
Why is my MPE job suddenly failing?
Why is my Job Suddenly Failing?
I had a recent call in to support asking why all of a sudden some jobs started failing in a job stream. The report was a blank line after run of a program suddenly started giving the error:
Missing colon before command name. (CIERR 981)
In previous incarnations the job stream with the blank line would NOT fail but nothing changed... of course. :)
First off I want to confirm that a blank line does abort a job stream.
:comment bland line is next Missing colon before command name. (CIERR 981) REMAINDER OF JOB FLUSHED. CPU sec. = 1. elapsed min. = 1. THU, FEB 4, 2010, 10:47 AM.And I found it does.
The customer though showed that the blank line was after the run of a program and in this case I am using query as an example. We didn't see the same behaviour. Odd.
:comment :comment test blank line after run query.pub.sys :comment :purge file1x :query HP32216N.03.18 QUERY/NM THU, FEB 4, 2010, 10:18 AM COPYRIGHT HEWLETT-PACKARD CO. 1976 exit END OF PROGRAM :showjcw jcw JCW = 0 :showjcw cierror CIERROR = 0 :eoj CPU sec. = 2. elapsed min. = 1. THU, FEB 4, 2010, 10:18 AM.Some investigation and some clues from something I had remembered investigating in 2001 allowed me to duplicate by switching to query being run/resolved via a command file.
In the above example even though the commands were the same, query was being run via path resolution. This is the part that was tricky and I later make the examples explicit by specifically running query.pub.sys or using my query command file:
:comment :comment Blank line after query which resolves to a command file :comment :query HP32216N.03.18 QUERY/NM THU, FEB 4, 2010, 10:20 AM COPYRIGHT HEWLETT-PACKARD CO. 1976 exit END OF PROGRAM Missing colon before command name. (CIERR 981) REMAINDER OF JOB FLUSHED.Another example but this time with garbage commands:
:comment query command file with garbage after exit :query HP32216N.03.18 QUERY/NM THU, FEB 4, 2010, 10:44 AM COPYRIGHT HEWLETT-PACKARD CO. 1976 exit END OF PROGRAM yabba dabba doo Missing colon before command name. (CIERR 981) REMAINDER OF JOB FLUSHED. CPU sec. = 2. elapsed min. = 1. THU, FEB 4, 2010, 10:44 AM.Now I switched back to running directly with the yabba dabba doo still in the job and some other lines:
:comment :run query.pub.sys HP32216N.03.18 QUERY/NM THU, FEB 4, 2010, 10:45 AM COPYRIGHT HEWLETT-PACKARD CO. 1976 exit END OF PROGRAM :showjcw jcw JCW = 0 :showjcw cierror CIERROR = 383 :eoj CPU sec. = 2. elapsed min. = 1. THU, FEB 4, 2010, 10:45 AM.In the case of a run of the program file the garbage lines after the run are being read as $stdin until it sees a "!". So what happens is the program exits and the extra lines left in the stdin are thrown away.
However, if you switch this run to a command file, suddenly the job stops running to completion.
So, if you have a customer that switches from say
query
which is run thru HPPATH resolution, to having
query
be resolved via a command file, the jobs with blank lines or garbage after the exit line will suddenly stop failing.
It's a bit tricky to diagnose especially if the customer doesn't believe you or points to something else. I have not tested UDC's but I would believe that they would have the same behaviour. My guess is that when a command file ends MPE just reads the next line in the job stream, but when a program ends the job stream is trying to re-orient itself in regard to stdin and just reads until is sees a "!". That is the behaviour that I am seeing.
Any past labbies or gurus care to comment or have thoughts.