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


Please Help Members By Posting Answers For Below Questions

can we use ASCII ,CDUP,SENDPASV commands in SFTP?

3164


how many maximum spaces could be given in o specs?

652


what is match field indicator?

1049


In 'o' Specs What Is The Opcode For Write?

714


what is the difference between sflclr and sflinz?

1058






What is file information data structure(infds) in as400?

983


describe the difference between the dowxx and douxx operations?

1223


How Many Specs Are There In Rpg & Which Are They?

695


how will you display a particular page in subfile ?

1068


Explain The Keywords Edtcde & Edtwrd?

860


What Is Ddm ?

1058


what is logical file?

612


difference between sflrcdnbr and sflnxtchg?

715


what if my system I runs with system value qccsid 65535?

628


Can you summarize the steps I have to go through in writing my first cgi?

639