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

Define the purpose of the following code (If you know, how would this be written in RPG ILE) HI LO EQ C *IN66 DOUEQ *OFF C KEY1 CHAIN FILEA 90 66 C 66 CALL PGM1 PRM C ENDDO

1 Answers  


What is the difference between /copy and /include in RPGLE?

1 Answers  


what are the three line types in rlu ?

1 Answers   IBM,


what is term cua , saa?

1 Answers   IBM,


How to know the number of records in a pf through clp program?

7 Answers   Bank Of America,






A join logical file has how many record formats?

0 Answers   IBM,


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

3 Answers  


Difference between NOPASS & OMIT?

0 Answers  


What is data structure in as400? What is the use of data structure?

0 Answers  


Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?

3 Answers   IBM,


STRTCPFTP command is used to start FTP in CL Language (ILECL)....can u plz tell me which command is used to start SFTP in CL language(ILECL)?

1 Answers  


Difference Between Skip Before & Space Before?

0 Answers   IBM,


Categories