I am SO confused! I have a CL program that was working fine. It copies a file to an IFS file named openpo.csv.
The job is running under a special ID created just for this job. I originally was submitting that job with USER = my special ID and it worked. Today, I am signed on as that ID and it won't work. After some searching online (thank you, again, Mr. Scott Klement and Mr. Tom Liotta!) I found a way to see more in the error message than "it didn't work".
It says it can't find my IFS file /home/userid/sharedfiles/openpo.csv
I'm looking at it!
Does anyone have any ideas on what I can check or change? We are in TESTING and this goes live on April 1!!! I am really worried. No one here has experience with this. I've been fortunate that I was able to find information on here and Google and that the receiving company's VENDOR for their SERVER had experience with this and was willing to help me.
Can you say panic attack?
Breathing.... breathing
OK - Here is the code with the IP address changed, of course:
The job is running under a special ID created just for this job. I originally was submitting that job with USER = my special ID and it worked. Today, I am signed on as that ID and it won't work. After some searching online (thank you, again, Mr. Scott Klement and Mr. Tom Liotta!) I found a way to see more in the error message than "it didn't work".
It says it can't find my IFS file /home/userid/sharedfiles/openpo.csv
I'm looking at it!
Does anyone have any ideas on what I can check or change? We are in TESTING and this goes live on April 1!!! I am really worried. No one here has experience with this. I've been fortunate that I was able to find information on here and Google and that the receiving company's VENDOR for their SERVER had experience with this and was willing to help me.
Can you say panic attack?
Breathing.... breathing
OK - Here is the code with the IP address changed, of course:
PHP Code:
CPYTOIMPF FROMFILE(*LIBL/IRC006PF) +
TOSTMF('/home/user/sharedfiles/openpo.csv +
') MBROPT(*REPLACE) STMFCODPAG(*PCASCII) +
RCDDLM(*CRLF) DTAFMT(*DLM) STRDLM(*NONE) +
NUMFLDPAD(*ZERO)
CHGVAR VAR(&CMD) +
VALUE('PATH=$PATH:/QOpenSys/usr/bin && +
scp -P 990 +
"/home/user/sharedfiles/openpo.csv" +
masterbrand@00.000.000.000:"in/openpo.csv"')
ADDENVVAR ENVVAR(QIBM_QSH_CMD_OUTPUT) VALUE(NONE) +
REPLACE(*YES)
ADDENVVAR ENVVAR(QIBM_QSH_CMD_ESCAPE_MSG) VALUE(Y) +
REPLACE(*YES)
QSH CMD(&CMD)
Comment