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 are the different opcodes used for file operation on a subfile in a rpg pgm?

1 Answers   IBM,


what is code for reading member in rpgle when wehave like extmbr(*all) so we have 3 members in *all then i want to read first record in 2member

2 Answers   HCL,


What is the purpose of the following C/COPY QRPGSRC, ORDERR

1 Answers  


can I copy content of Physican file in some source Member of type TXT? Thanx..

1 Answers  


how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

1 Answers   iGate,


In which specification Data Structures can be defined?

1 Answers  


what are indicators?

0 Answers   IBM,


when do you use f-spec. Continuation line ?

1 Answers   IBM,


what is service program?

0 Answers   IBM,


what is the purpose of indicators in rpg?

1 Answers   IBM,


what is the function of crtdupobj command?

1 Answers   IBM,


what is subfile?

1 Answers   IBM,


Categories