I have jcl, which gets the input file through ftp.
I do some processing like SORT, execute an SQL etc.
Create the Output file with the results.
I have to name the output file having the last qualifiler of the input file during runtime
is this possible ? Can we make use of symbolics ?
Looking more closely
I see you do have some idea related to the ftp control cards.
Do you, want to generate the input dsn name, output dsn name and control cards, all with the same parameter?
Or, do you want to know the file name that you are receiving and use that to create the dsns?
Or something else?