IBM Support

IBM Sterling Connect:Direct for AS/400 support of wildcard

Question & Answer


Question

Does IBM Sterling Connect:Direct (C:D) for AS/400 support wildcards?

Answer

Connect:Direct AS/400 doesn't support the wildcard, but if the remote node is Windows
or Unix, multiple files can be sent from there to AS/400, Connect:Direct AS/400 can not use a
Receive.
So the solutions are: send from the remote node or submit the remote process from AS/400.

Other systems can send to OS/400 using wildcard, OS/400 does not support wildcard itself to send with. It can be done to IFS or a NFS multiple member physical file.

/* IFS copy from Windows */
COPYFILE COPY
FROM (
FILE=C:\DATA\test\*.*
)
TO (
FILE=/home/sflan1/
DISP=RPL
SYSOPTS="type(file)
"
)

/* NFS To a multiple member physical file the inbound name can not be
greater then 10 characters. All PC files must be =< record length of
NFS */

COPYFILE COPY
FROM (
FILE=C:\DATA\test\*.*
)
TO (
FILE=qa/test(*)
DISP=RPL
SYSOPTS="type(mbr) rcdlen(120) maxmbrs(*nomax) size(*nomax)
filetype(*data)
"
)


[{"Product":{"code":"SSRS27","label":"IBM Sterling Connect:Direct for i5\/OS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"3.7;3.6;3.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
24 July 2020

UID

swg21662712