In tso, I want to sort a file to rewrite one other existent file in JCL. Could I do some programming in the sort_parm file? How to do it? If there is some other ways to do that, please tell me. thanks, guys!
Typically, sorts are run in batch via jcl and it is a very bad practice to use the same file as input and output. If there is any abend, the original data is very possibly destroyed.