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

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  


I am a fresher. I got project on AS 400. Can any body suggest the best book for learning of it.

1 Answers  


WHAT IS AS/400 SYNORIO?

0 Answers   CTS, EDS,


how you will find an error which is not in the first page of the subfile without using rolldown key?

0 Answers   IBM,


I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?

13 Answers   Mind Tree,






how can send report to user through cl program in as400

1 Answers  


what are different record spacing keywords in rlu ?

1 Answers   IBM,


how do we know batch job aborted after we submitting it

1 Answers  


How to see all members of a file?

1 Answers  


Can anybody please tell me what is difference between SQL (STRSQL ) and WRKQRY .....?

3 Answers  


how to write code for singlepage in sqlrpgle with update ?

0 Answers  


why is the declare cursor statement is used for?

0 Answers   IBM,


Categories