Passing values from SQR to UNIX

UNIX script running a SQR program.... no problem passing values to SQR program... trying to pass values back to UNIX....

I'm currently creating a file from the SQR program and then using the Unix READ command to read the file and retrieve the value....

Is there an easier way to pass the values back from SQR to UNIX ?

Thanks

What do you mean 'return values to UNIX' ? Do you want enviornment variables?
A file? Pipe to another process?

In other words, what do you need to do with the output you 'are returning to UNIX' ?

from the unix script I pass the current date to the sqr program... the sqr program uses this date to calculate another date... I then want to pass that date back to unix... and use that date to do a couple ftp commands....

Hope this is a little clearer,

Thanks