Sandeepa
Member
Requirement is to read the flat filenames from a directory which is on AS400(IFS – Integrated File System), and store the filenames in the flat file in the same directory of the IFS system.
For example:-
Directory is \export\ -> having file names such as SAMABC.txt, SAMXYZ.txt and TestABC.txt. JDE UBE would be triggered which will read this directory for SAM* and would result in creating a file(Print.txt) in \export\ directory. This Print.txt will store file names SAMABC.txt and SAMXYZ.txt.
JDE BSFN which are available for taking care of this is only Client and the API’s used are Windows specific.
I am thinking if I can use the BSFN Execute External Command where I would be providing the command of AS400/OS400, which would filter the filenames based on the search criteria given with wildcard and store the filenames retrieved in the same directory under a new file(Print.txt).
I had tried the commands on windows using the BSFN Execute External Command which works perfectly but I am not able to find the specific commands for OS400.
Please let me know if you can provide the relative information regarding the OS400 commands which would take care of this requirement, it would be of great help.
I did tried copying the BSFN which were client only to Client/Server but they are failing during the package build.
I am not very much sure whether the OS400 commands would work through the Execute External Command BSFN, please advise.
Also need the executable OS400 commands to get the filenames for the wildcard pattern.
For example:-
Directory is \export\ -> having file names such as SAMABC.txt, SAMXYZ.txt and TestABC.txt. JDE UBE would be triggered which will read this directory for SAM* and would result in creating a file(Print.txt) in \export\ directory. This Print.txt will store file names SAMABC.txt and SAMXYZ.txt.
JDE BSFN which are available for taking care of this is only Client and the API’s used are Windows specific.
I am thinking if I can use the BSFN Execute External Command where I would be providing the command of AS400/OS400, which would filter the filenames based on the search criteria given with wildcard and store the filenames retrieved in the same directory under a new file(Print.txt).
I had tried the commands on windows using the BSFN Execute External Command which works perfectly but I am not able to find the specific commands for OS400.
Please let me know if you can provide the relative information regarding the OS400 commands which would take care of this requirement, it would be of great help.
I did tried copying the BSFN which were client only to Client/Server but they are failing during the package build.
I am not very much sure whether the OS400 commands would work through the Execute External Command BSFN, please advise.
Also need the executable OS400 commands to get the filenames for the wildcard pattern.