Strange behavior after installation of Languages and tools
Here is a new puzzler.
After my initial headaches using miniconda (see other threads here), I finally had a set of installed languages and tools in a ~/bin directory. This bin was placed in my PATH.
I then moved on to my next project of adding CO:Z tools from Rocket Software. The process has worked reliably for many years without flaws.
This time, it failed because when the script used the cp command to copy from an untagged binary unpaxed unix file to a member in a PDS dataset, the binary EBCDIC source was being converted again and the <<newline>> sequence was not causing records level breaks in the data. This caused the entire source file to become one big logical line. The target PDS could not put all that data in a logical record and the cp command failed.
As part of the debugging I confirmed that all AUTOCVT values were disabled (file level tags, file system mount commands, CEE environment vars, BPXK vars, etc).
All attempts to get a clean script run failed.
A solution was found by using the rule of 'What changed?' --- This led me back to where I placed the Rocket bin file in my PATH. In the past, it was at the end of the PATH variable. This time I installed it at the front so the new versions would be selected before any previously installed versions. By moving back to the end of the PATH search, cp worked as it always had and the Rocket install script finished without problems.
What in the Rocket installed languages and Tools could override the basic operating system functions of cp?
------------------------------
Tom Longfellow
Senior Systems Programmer
Maryland Judicial Information Systems (JIS)
Annapolis MD US
------------------------------
After my initial headaches using miniconda (see other threads here), I finally had a set of installed languages and tools in a ~/bin directory. This bin was placed in my PATH.
I then moved on to my next project of adding CO:Z tools from Rocket Software. The process has worked reliably for many years without flaws.
This time, it failed because when the script used the cp command to copy from an untagged binary unpaxed unix file to a member in a PDS dataset, the binary EBCDIC source was being converted again and the <<newline>> sequence was not causing records level breaks in the data. This caused the entire source file to become one big logical line. The target PDS could not put all that data in a logical record and the cp command failed.
As part of the debugging I confirmed that all AUTOCVT values were disabled (file level tags, file system mount commands, CEE environment vars, BPXK vars, etc).
All attempts to get a clean script run failed.
A solution was found by using the rule of 'What changed?' --- This led me back to where I placed the Rocket bin file in my PATH. In the past, it was at the end of the PATH variable. This time I installed it at the front so the new versions would be selected before any previously installed versions. By moving back to the end of the PATH search, cp worked as it always had and the Rocket install script finished without problems.
What in the Rocket installed languages and Tools could override the basic operating system functions of cp?
------------------------------
Tom Longfellow
Senior Systems Programmer
Maryland Judicial Information Systems (JIS)
Annapolis MD US
------------------------------