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
distinguish between terminating a program through seton lr and return?
what are necessary keywords to code message subfile?
how to read database records without locking them?
in conjunction with which statements can orxx and andxx conditions be used ?
What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?
list some of the commonly used commands for debugging?
what opcode will be used to test the zone of a character field?
can a indexed file be accessed in arrival sequence in rpg program?
what key word is used when screen is re-display?
maximum number of subfiles that can defined in a rpg program for one display file is?
how can database records be read without lock ?
what is the difference between udate and the system date?
How do I remove a flag or check no. or name when a user opens too many sessions?
what is the difference between normal upddta to pf and updating using dfu program?
what does check opcode do ?