there are a couple of ways of doing this. Either use a SEQUEL script which I likethe most because it has more capabilities.
for the CL, I am not sure which command you are using to run your view. But if you use the EXECUTE command you can scroll down to the "Set Variables" parameter
variable name is the variable in your view
variable value is the variable in your CL
hope this helps.
Originally Posted By huskerron