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

What is a Join Logical File, Can it be used for Update ?

1 Answers  


How to add 99 menu (page down) option in menu creation..

1 Answers  


what is the command used to invoke rlu ?

2 Answers   IBM,


what opcode will be used to test the zone of a character field?

2 Answers   IBM,


Write a logic program for knowing the repeated number of a vowels in a given program?

1 Answers   Valtech,


How can we find from which source the program has been compiled for a given RPGLE program object?

5 Answers  


can we creat a member logical file

3 Answers  


Which of the following operations does NOT zero the field FLDA defined as 4,0? C MOVE *ZEROS FLDA C Z-ADD *ZEROS FLDA C Z-ADD 0 FLDA C MOVE *ALL'0' FLDA C SUB FLDA FLDA C MOVE '0000' FLDA C CLEAR FLDA C MOVE *BLANKS FLDA

1 Answers  


why is the declare cursor statement is used for?

1 Answers   IBM,


what is the maximum number of fields under a record format of physical file?

2 Answers   IBM,


i have recently moved to hyd. i would like to know which is the best institue to learn AS400. are there any in ameerpet? thanks.

4 Answers  


A phisical file has two fields like 1) Account No(10,0) 2)Phone No(15,0)Unique on both fields?Please give me the answer for this?

3 Answers  


Categories