can u plz tell me is there any difference between SHELL
SCRIPT & SFTP SCRIPT?
I want to run LS & GET(automatically) command from CL
program....which script can be used?
Answer Posted / syam
QShell command using on AS/400 for interactive job.
STRQSH is CL command
Ex.
CRTPF QTEMP/TESTFILE RCDLEN(50)
OVRDBF FILE(STDOUT) TOFILE(QTEMP/TESTFILE)
QSH CMD('echo Test Test Test')
DLTOVR FILE(STDOUT)
DSPPFM QTEMP/TESTFILE
ENDPGM
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
in which specification the report layout can be defined?
What is the maximum number of subfiles that can be specified in a display file?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
What is %CHECK?
what if my system I runs with system value qccsid 65535?
how can I automatically refresh a web page?
what is a composite key?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
What is difference between rename and prefix?
how to write *pssr ?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
Why we are not able to perform insert delete and update operation in Join logical file?
why is as/400 called object oriented machine?
which are control break logic indicators?
Apart from opening of a file do we have any other use of USROPN?