Hello,
We have a CL program that has been in place since 2014, it is running on 13 different iSeries of varying levels of O/S - the majority are V7R1MO L00, a few are V6R1M1 L00.
This program works everywhere albeit recently, on a single machine, it stopped working.
I am convinced that something O/S related has changed but, as the box is hosted by a 3rd party, getting them to advise what is like getting blood out of a stone.
I want to prove it has changed, but I lack the skills/knowledge to identify what has changed.
To give an overview of the issue, the CL program does this;
When this started failing, analysis was done and it was was advised that the '-C 1208' needed to be on the end of the command - so I changed the program to this;
This is a temporary fix whilst we try to ascertain the cause.
When this command runs now, it ends with an exist status of 0 and I can see the file which is great.
However, shortly after it does this;
Which ends with a status of '1' and produces a print that says; iconv: 0791-004 cannot open converter
So the "quick fix" I was asked to do, is now going to mean I'll need to run through all commands in program and figure out which work and which won't.
===========
I am just wondering if anyone knows how I can maybe determine the version of QSH or has any idea where to look to find something that would affect the syntax of the commands - I am guessing it is probably some sort of update but I'm not sure it was a PTF.
From what I understand; PTFs have to be installed via an IPL, this started happening in June and QCTL has been active since May.
I've been through this; https://www.ibm.com/support/knowledg...ahzdevelop.htm but not finding anything, I will go through it again though.
Thanks in advance,
Ryan
We have a CL program that has been in place since 2014, it is running on 13 different iSeries of varying levels of O/S - the majority are V7R1MO L00, a few are V6R1M1 L00.
This program works everywhere albeit recently, on a single machine, it stopped working.
I am convinced that something O/S related has changed but, as the box is hosted by a 3rd party, getting them to advise what is like getting blood out of a stone.
I want to prove it has changed, but I lack the skills/knowledge to identify what has changed.
To give an overview of the issue, the CL program does this;
Code:
CHGVAR VAR(&QSHSTRING) VALUE('touch + -C 1208' *cat ' ' *cat &NewFile) QSH cmd(&qshString)
Code:
CHGVAR VAR(&QSHSTRING) + VALUE('touch '|| &NewFile |< ' -C 1208') QSH cmd(&qshString)
When this command runs now, it ends with an exist status of 0 and I can see the file which is great.
However, shortly after it does this;
Code:
CHGVAR VAR(&QSHSTRING) VALUE('iconv + -f 1208 -t 819' *tcat ' ' *CAT &IntFile + *tcat ' ' *cat '>' *cat ' ' *cat &FullFile) QSH cmd(&qshString)
So the "quick fix" I was asked to do, is now going to mean I'll need to run through all commands in program and figure out which work and which won't.
===========
I am just wondering if anyone knows how I can maybe determine the version of QSH or has any idea where to look to find something that would affect the syntax of the commands - I am guessing it is probably some sort of update but I'm not sure it was a PTF.
From what I understand; PTFs have to be installed via an IPL, this started happening in June and QCTL has been active since May.
I've been through this; https://www.ibm.com/support/knowledg...ahzdevelop.htm but not finding anything, I will go through it again though.
Thanks in advance,
Ryan
Comment