Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

IBM i

HFS supports the root and QOpenSys file systems under IFS.

z/OS

HFS supports the UNIX System Services file system.

Parameters

HTML Table
summarycellspacing0
styletext-align: left; width: 100%;
classTable_with_Header
Table Row (tr)
Table Cell (td)
stylebackground-color: #F0F0F0; border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: middle; width: 144pt;

Anchor
1156837
1156837
Parameter

Table Cell (td)
stylebackground-color: #F0F0F0; border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: middle; width: 360pt;

Anchor
1156839
1156839
Description

Table Row (tr)
Table Cell (td)
styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

Anchor
1156841
1156841
logical-name

Table Cell (td)
styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

Anchor
1156843
1156843
Logical name of the transfer server to execute the existdir command.

Table Row (tr)
Table Cell (td)
styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

Anchor
1156845
1156845
directory

Table Cell (td)
styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

Anchor
1156847
1156847
Name of the directory to check. This can be a relative path.

...


Anchor
1156852
1156852
To check the /home/max/tmp directory:

Panel

Html bobswift

<pre>
existdir remotesys=/home/max/tmp

if $(_lastrc) EQ 0
 echo "The command ran correctly."
else
 echo "Check for error or warning messages."
end

echo ""

if <"$(_existdir)" EQ "yes">
 echo "The directory exists." 
end

if <"$(_existdir)" EQ "no">
 echo "The directory does not exist."
end

if <"$(_existdir)" EQ "error">
 echo "A file or system error occurred."
end

if <"$(_existdir)" EQ "">
 echo "A command error occurred."
end
</pre>

Info
titleWindows

The example would be:

Html bobswift

<pre>
existdir remotesys=C:\home\max\tmp
...
</pre>

Anchor
1156860
1156860


Anchor
1156861
1156861
To check the directory /home/max/tmp/abc using a relative path, assuming that the current directory is /home/max/ and that /home/max/tmp/abc exists.

Panel

Html bobswift

<pre>
existdir remotesys=tmp/abc

if $(_lastrc) EQ 0
 echo "The command ran correctly."
else
 echo "Check for error or warning messages."
end

echo ""

if <"$(_existdir)" EQ "yes">
 echo "The directory exists." 
end

if <"$(_existdir)" EQ "no">
 echo "The directory does not exist."
end

if <"$(_existdir)" EQ "error">
 echo "A file or system error occurred."
end

if <"$(_existdir)" EQ "">
 echo "A command error occurred."
end
</pre>

Info
titleWindows

The example would be:

Html bobswift

<pre>
existdir remotesys=tmp\abc
...
</pre>

Anchor
1151710
1151710