Synon Mainframe Refresher

Execute External Function

The 'Execute external function' can be used to specify a batch process to CA 2E. For example you might define a 'Retrieve object' function to read records from a file and within that specify processing to be performed on each record read. If you wanted to implement the 'Retrieve object' function as a batch program, you could do so simply by including it within an 'Execute external function'.

An example of the use of an 'Execute external function' might be a batch program to read and process records from a file. If you wanted to read all the records from an 'Order' file and for each record read, print the order, you could define an 'Execute external function'.

Execute External function