PGM
QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt
serverUserID@server')
ENDPGM

In above example,what is content of myfile.txt ...Thanx

Answers were Sorted based on User's Feedback



PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') E..

Answer / carel teijgeler

File contains ssh commands like:
put [file(s)]
get [file(s)]
exit

Is This Answer Correct ?    1 Yes 0 No

PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') E..

Answer / syam

Any Physical file Data. Not CL command or CL Programs

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More IBM AS400 AllOther Interview Questions

when are the referential constraints executed?

0 Answers   IBM,


what is data structure?how many types of data structers?

4 Answers  


What are the different types of keywords in display files?

1 Answers  


A join logical file has how many record formats?

0 Answers   IBM,


how do you turn off indicators 50 through 59 in only one operation

1 Answers  






what are the parameters required for calling ls & get command(SFTP COMMANDS) from cl progtram.... I want to transfer files(using GET COMMAND) that are retrieved by LS command ...FROM 1 SYSTEM TO ANOTHER... STEP 1:LS-list all files...from remote system STEP 2:GET-actually transfer the files(listed in step 1) from remote system to local system & get stored in some Physical file....Plz reply in detail...Thanx

1 Answers   EDS,


Can we debug the MSGW JOBS?

0 Answers  


what is the maximum number of subroutines allowed in rpg?

1 Answers   IBM,


how many specifications are there in rpg/400? What are they?

1 Answers   IBM,


I am working in session1 ans session2. In session1 3 jobs are running. In session2 2 jobs are running. How many LDA and temporary files will be created?

3 Answers  


records can be read/update/deleted with which file?

0 Answers   IBM,


Is it possible to add an keyfield or field to an Physical file without changing its file identifier. Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.

2 Answers  


Categories