You can create a CL file and then compile the file if you wish. But you won’t get it to do the same thing.
First, CL doesn’t support SQL, so creating a CP program isn’t what you want to do. Second, EXPORT isn’t a supported SQL statement on the platform, so EXPORT possibly isn’t what you want to do.
Please describe what you want to accomplish.