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

Can level check error occur if we do chgpf?

0 Answers  


How to convert a spool file to PDF file in AS400?

0 Answers  


how many triggers can be associated with a file?

1 Answers   IBM,


what are two types of record are used in subfile?

1 Answers   IBM,


Define a Batch Job?

1 Answers  






An rpg program is processing an openquery file.The file is declared in update mode in F spec.Can we update this file? Please explain?

3 Answers  


what is service program?

0 Answers   IBM,


what does the opcode free do?

1 Answers   IBM,


when do you use f-spec. Continuation line ?

1 Answers   IBM,


what are the different types of variables available in cl?

1 Answers   IBM,


How do I release jobs in queue and change a job destination to a different printer. I know wrkjobq but I have not worked with As/400 for a while,so_can someone help me?

2 Answers  


what would be the effect on the field where reverse image, underline and highlight display attributes were active?

1 Answers   IBM,


Categories