Analisis Razonado Sigdo Koppers S.A. Individual
1) Estado de Resultados Individual
Helpinformationcanbe obtainedwiththe?subcommand.
HelpforFTP
server
subcommands
ToobtainhelpforFTPsubcommandsontheremote system,usetheHELPsubcommand inthisformat:
SERVER
Givesthehelptheremotesystem offersforFTPserversubcommands.Thisissimilartousing QUOTEwith theHELPparameter.QUOTEHELPliststheFTPsubcommandssupportedbythe remotesystem.
subcommand
Thenameoftheserversubcommandthatyouwanttheinformation.Forexample,HELPSERVER STORwillrequesttheservertoprovidehelp ontheSTORsubcommand.
Note: RHELPisa synonymforHELPSERVER.Forexample,HELPSERVERSITEandRHELPSITEare
equivalent.
Related reference
“QUOTE(SendaSubcommandtoanFTPServer)”onpage81
TheQUOTE i5/OSFTPclient subcommandsendsasubcommandtoanFTPserver.
“FileTransferProtocolclientsyntax conventions”onpage144
Followthesesyntax conventionswhenyouusetheFileTransferProtocol(FTP)clientsubcommands.
LCD
(ChangeWorking
Library
or
Directory
on
LocalSystem)
TheLCDi5/OSFTPclientsubcommandchanges theworking directoryonthelocalsystem.
FTPclient
subcommand
pathname
Thenameofa library,folder,ordirectoryonthelocalsystem.
Notes:
1. TheLCDsubcommanddoesnotchangethecurrentlibraryentryofthelibrarylist.
2. WhenusingthesubcommandCD(orLCD)tochangefromonefilesystem toanotherfile
system,youmust specifythe″root″directory, forexample,/QDLS or/QOPT.
Related reference
HelpSERVER[subcommand]
“GET(Copy aFilefroma RemoteSystemtotheLocalSystem)”onpage69
TheGETi5/OSFTPclientsubcommandcopiesafilefromtheremotesystemtothelocalsystem.
“FileTransferProtocolclientsyntax conventions”onpage144
Followthesesyntax conventionswhenyouusetheFileTransferProtocol (FTP)clientsubcommands.
“Filenamesforclient-transfersubcommands”onpage147
Youcanusedefaultsourceand targetfilenamesforsomesubcommands;however,youmust specify a filenameforothersubcommands.
“Namingfilesfortransfer”onpage150
TheFTPclientsubcommandsthatyouusefortransferringdatacanhavealocalfileparameter,a
remotefileparameter,orboth.Youcanusethese parameterstonamethedatayouwanttotransfer.
LOCSITE
(SpecifyLocal
Site
Information)
TheLOCSITEi5/OSFTPclientsubcommand specifiesinformationthatisusedbytheFTPclientto provideservicesspecific totheclientsystem.
FTPclient
subcommand
Thei5/OSFTPclientsupportsthese parametersandparameter optionsfortheLOCSITEsubcommand:
CRTCCSID*CALC
NewdatabasefilescreatedduringASCIIfiletransfersusetherelateddefaultEBCDICCCSIDof theASCIIfiletransferCCSID. Thisisthedefaultvalue.
CRTCCSID*USER
NewdatabasefilescreatedduringASCIIfiletransfersusethecurrentjobCCSID. However,ifthis CCSIDis65535,thedefaultCCSIDdeterminedbythelanguageidinthecurrentjobspecification.
CRTCCSID*SYSVAL
NewdatabasefilescreatedduringASCIIfiletransfersusetheCCSIDthattheQCCSIDsystem valuespecifies.
CRTCCSID[CCSID-number]
SpecifytheCCSIDyouwantto usewhencreatingdatabase filesontheclientduringASCII file transfers.TheFTPservervalidatesthisvalue.
CRTCCSID
Displaya messagethatcontainsthecurrentFTPclientCRTCCSIDsetting.
TRIM0
SetTrimoptiontoOFF.TheFTPserversendstrailingblanks ofdatabaserecords.
TRIM1
SetTrimoptiontoON.TheFTPserverdoesnotsendtrailing blanksofdatabaserecordswhen transferringdatabase filesthatusefilestructure andstreammode.Thisisthedefault.
TRIM2
SetTrimoptionsotheserverdoesnotsendtrailing blanksofdatabaserecordsforalltransfers, includingrecord structureandblockmode.
TRIM Displaya messagethatcontainsthecurrentsettingoftheFTPclientTRIM option.
Notes:
1. Priortotheavailabilityofthissubcommand,trailing blanksofQSYS.LIBfilesystem
recordswere alwaysremovedbefore transferringthefiletotheFTPserver.
2. TRIMsettingsdonotapplytoTYPEI(binary)filetransfers. Blanksarenever trimmed
forTYPEIfiletransfers,regardlessoftheTRIMsetting.
DTAPROTC
SetthedataprotectionvariabletoC(Clear).Thisvariableisusedtosetthedataprotectionlevel whenopeninga securecontrolconnection.Formore detailsaboutsettingdataprotectionsecurity, refertothefollowingsubcommands:SECDATAandSECOPEN.
DTAPROTP
SetthedataprotectionvariabletoP(Private).Thisvariableisusedtosetthedataprotectionlevel whenopeninga securecontrolconnection.
DTAPROT
Displaya messagethatcontainsthecurrentvalueofthedataprotectionvariable.
Related reference
“SECData(SettingDataSecurityProtection)” onpage84
TheSECDatai5/OSFTPclientsubcommandspecifies theprotectionleveltobeusedforthedata connectionwhena securecontrolconnection isalreadyestablishedwith theremotesystem.
“SECOpen(SettingDataSecurity Protection)”onpage85
TheSECOpeni5/OSFTPclientsubcommand opensasecurecontrolconnectiontoanFTPserver usingthespecifiedsecurityoption.
“FileTransferProtocolclientsyntax conventions”onpage144
Followthesesyntax conventionswhenyouusetheFileTransferProtocol(FTP)clientsubcommands.
LOCSTAT
(Display
Local
StatusInformation)
TheLOCSTATi5/OSFTPclientsubcommanddisplayslocalstatusinformation.
FTPclient
subcommand
DisplaysLocalstatusinformation,including:
v ThecurrentsettingoftheSENDSITE subcommand
v ThecurrentsettingoftheSENDPORT subcommand
v Remotesystemname,portnumber,andlogonstatus
v Datatype andtransfermode
v Nameformatvalueforboththeclientand theserver
v SettingfortheVERBOSEmode
v SettingfortheDEBUGmode Related reference
“FileTransferProtocolclientsyntax conventions”onpage144
Followthesesyntax conventionswhenyouusetheFileTransferProtocol(FTP)clientsubcommands.
LS
(List
RemoteFile
Names)
TheLSi5/OSFTPclientsubcommandliststhenamesoffilesina fileset onaremotesystem.
FTPclient
subcommand
name Theremotedirectory,file,orlibrarythatyouwantto list.Iftheremotesystemisa Systemi product,theFTPserverliststhefilenamesanditsmembers. Thedefaultistolisttheentire currentdirectory,library,orfolder.Tochangethecurrentdirectory,library,orfolder,usetheCD subcommand.Theremotefilespecificationissystem dependent.
LOCSTat
(Disk StorestheresultsoftheLSsubcommandinthefile*CURLIB/LSOUTPUT.LSOUTPUT,insteadof showingtheresultsonthedisplay.Eachtimeyouspecifythe(Diskparameterwith thesame *CURLIB,theFTPserverchanges thecontentsoftheLSOUTPUT.LSOUTPUTmemberfile.
Note: IftheFTPserverreturnsanegativereplycode(550), thentherewillbe noLSOUTPUT member.If
theFTPserverreturnsapositivereply code(150)withoutanyfilenames,thenanLSOUTPUT memberwith norecordswillresult.
TheLSsubcommandliststhefilenamesonly.Toget alistofcompletedirectoryentrieswithadditional informationaboutthefiles,see“DIR(ListDirectoryEntries, Libraries,orFiles)”onpage68.
Related reference
“DIR(ListDirectoryEntries,Libraries,orFiles)”onpage68
TheDIRi5/OSFTPclientsubcommanddisplayslibrariesand theircontentsortheremotesystem’s listofdirectoriesanddirectory entries.
“CD(ChangeWorkingDirectoryorLibrary)”onpage65
TheCDi5/OSFTPclientsubcommand changestheworkingdirectory,library,orfilegrouponthe remotesystem.
“FileTransferProtocolclientsyntax conventions”onpage144
Followthesesyntax conventionswhenyouusetheFileTransferProtocol (FTP)clientsubcommands.
LTYPE(Local
Type)
TheLTYPEi5/OSFTPclientsubcommandspecifies thefiletransfer typeortherepresentationinwhich thetransferistotakeplaceonthelocalsystem.
FTPclient
subcommand
C TheCCSIDtype. CodethisvalueasC.
ccsid# TheCCSIDvalue. Codethisvalueasa CCSIDnumber 1-65533.
Note: TheLTYPE subcommandissimilartotheTYPE subcommand.TheLTYPEsubcommandchanges
onlytherepresentationtypeontheclientside.TheTYPEsubcommandchanges therepresentation type onboth theclientand theserver.
Related reference
“TYPE(SpecifyFile TransferType)”onpage91
TheTYPE i5/OSFTPclientsubcommand specifiesthefile-transfertype,ortherepresentationin whichthetransferistotakeplace.
“FileTransferProtocolclientsyntax conventions”onpage144
Followthesesyntax conventionswhenyouusetheFileTransferProtocol (FTP)clientsubcommands.
MDELETE
(DeleteMultiple
Files
on
a
Remote
System)
TheMDELETEi5/OSFTPclientsubcommanddeletes multiplefilesontheFTPserver.
FTPclient
subcommand
remotefile
ThefilesthatyouwanttodeleteontheFTPserver.
LTypeCccsid#
Note: Whentheremotefileisa QSYS.LIBfile,theFTPserverdeletesallmembers ofthephysical file.The
fileitselfremains.
Thefollowingisa libraryfilesystem exampleinNAMEFMT0:
MDELETE MYLIB/FILE1.MBRA YOURLIB/FILE2.MBRB
ThepreviousexampledeletesmemberMBRAinfileFILE1inlibraryMYLIBand memberMBRBinfile FILE2inlibraryYOURLIBonaremote system.ThefollowingisthesameexampleinNAMEFMT1:
MDELETE /QSYS.LIB/MYLIB.LIB/FILE1.FILE/MBRA.MBR /QSYS.LIB/YOURLIB.LIB/FILE2.FILE./MBRB.MBR
Thefollowingisa documentlibrarysystem exampleinNAMEFMT1:
MDELETE /QDLS/QIWSOS2/PCSMENU.EXE /QDLS/PCSDIR/PCSFILE.EXE
ThepreviousexampledeletesdocumentPCSMENU.EXEinfolderQIWSOS2inthedocumentlibrary serviceslibrary,andalsodeletes PCSFILE.EXEinfolderPCSDIRintheQDLSlibrary.
Youcanuseanasterisk(*)todeletethefilesgenerically.Forexample,with NAMEFMT0,iftheremote systemisaSystemiproduct, type:
MDELETE MYLIB/MYFILE.*
Thisexamplewould deleteall membersoffileMYFILEinlibraryMYLIB. Useoftheasteriskisonlyvalid attheendofacharacterstring.
Related reference
“DELETE(Deletea FileonaRemoteSystem)”onpage67
TheDELETE i5/OSFTPclientsubcommand deletesafileordatabase filememberona remote system.Theremotesystem mightpromptyouforauthorizationtodeletea file.UsetheACCT(Send AccountInformation)subcommandtorespondtothatrequest.
“FileTransferProtocolclientsyntax conventions”onpage144
Followthesesyntax conventionswhenyouusetheFileTransferProtocol(FTP)clientsubcommands.
“Filenamesforclient-transfersubcommands”onpage147
Youcanusedefaultsourceand targetfilenamesforsomesubcommands;however,youmust specify a filenameforothersubcommands.
“Namingfilesfortransfer”onpage150
TheFTPclientsubcommandsthatyouusefortransferringdatacanhavea localfileparameter,a
remotefileparameter,orboth.Youcanusethese parameterstonamethedatayouwanttotransfer.
MGET
(CopyMultiple
Files
from
a
Remote
System
to
the
Local
System)
TheMGETi5/OSFTPclient subcommandcopiesmultiple filesfromtheremotesystem.