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?




can u plz tell me is there any difference between SHELL SCRIPT & SFTP SCRIPT? I want to run L..

Answer / 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

More IBM AS400 AllOther Interview Questions

maximum number of subfiles that can be active for a single file is?

1 Answers   IBM,


What is the default access path of a file?

0 Answers  


Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

0 Answers  


function of DSPPGMREF?

3 Answers  


what is the maximum number of files allowed in rpg?

1 Answers   IBM,






at what level s,o are defined and what they will do?

1 Answers   IBM,


define the purpose of the %sst function?

1 Answers   IBM,


What is the use of Header Specification in RPG/400?

1 Answers  


What is Data Area?

1 Answers  


How can we read file using curser? how to define a curser?

0 Answers  


Describe the function of SETLL operation in RPG language?

1 Answers  


If login Screen has been modified by adding current date to be displayed. What Step to be followed to Keep that date as Current date Note: If no steps taken then it will display only the compilation date

2 Answers   BridgeStone,


Categories