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)
"
)
Was this topic helpful?
Document Information
Modified date:
24 July 2020
UID
swg21662712