method 1: I use addtrgPF to a file, which invoke the cl program, when a record is inserted in the file, the cl program is supposed to be invoked.
result 1: when I inserted a record to a file in AS400 platform , the CL program could be invoked properly, however, when the inserting is done from window platform, the record has been inserted into the file, however, the cl program can not be invoked. I tried two way to insert the record from window, one is to append member to that file, the other is to exactly using the SQL insert statement by using VB.
Method2: I called the stored procedure to call the cl program from windown platform by using VB, it does not work.
my part code is as following:
result 1: when I inserted a record to a file in AS400 platform , the CL program could be invoked properly, however, when the inserting is done from window platform, the record has been inserted into the file, however, the cl program can not be invoked. I tried two way to insert the record from window, one is to append member to that file, the other is to exactly using the SQL insert statement by using VB.
Method2: I called the stored procedure to call the cl program from windown platform by using VB, it does not work.
my part code is as following: