CLEARIDCAMS
You can use this function to clear the contents of all %IDCAMS variables. This can be used if you need to execute CALLIDCAMS multiple times and pass different data to IDCAMS.
The format of this function is
CLEARIDCAMS. For example,
CLEARIDCAMS.