what are the parameters required for calling ls & get
command(SFTP COMMANDS) from cl progtram....
e.g call PGM(qp2shell) PARM('/qopensys/usr/bin/sh' '-c'

'sftp -b /home/mydir/tmp.txt user@host.com')


Plz reply in detail...

Answer Posted / syam

One AS/400 to another AS/400 use STRTCPFTP command on CL
program or Command Line.

SFTP using from PC Prompt.

Write in details? What you want to transfer. Where to Where?

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference Between Call & Sbmjob?

1018


which single rpg opcode performs both setll and reade?

1410


when would you use or not use this approach?

1207


what is rpg ?

1248


what is externally described file ?

1298


the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

2818


how you will know whether you are in sfldrop or sflfold mode?

840


what is a spool file?

903


i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.

1253


in conjunction with which statements can orxx and andxx conditions be used ?

1512


what is the maximum number of files allowed in rpg?

1262


WHAT IS AS/400 SYNORIO?

3090


how do you read data area in an rpg program?

1477


In 'o' Specs What Is The Opcode For Write?

923


how to write code for singlepage in sqlrpgle with update ?

2595