Page 2 of 2

Posted: Mon Apr 21, 2014 12:51 pm
by William Collins
You are missing the point. NicC is saying that SQZ is not JCL. If you look at the JCL Reference Manual you will see that he is 1000% correct.

SQZ is from SORT. You use it in a Sort Control Card. Where did you find "CENTRE"?

Please don't use OUTREC (or INREC or OUTFIL) FIELDS=. Use BUILD= instead. FIELDS= is still supported so that old SORT control decks work unchanged. Get up-to-date and use BUILD.

Posted: Mon Apr 21, 2014 1:02 pm
by NicC
If you want to insert characters .. DELIM is there .. dunno the syntax .. OK

So try using MID
You can also align SHIFT, LEFT and CENTRE
(Please note corrections that I made to the original text whilst quoting)

Code: Select all

Why should I call sort to process a dataset that I can create correctly in the first place? That is just slothful and a waste of resources.

Posted: Mon Apr 21, 2014 1:52 pm
by Attack1988
NicC, i am just new .. to mainframe and to forums .

No only learnt how to use code tags


Posted: Sun Apr 27, 2014 2:27 pm
by Anuj Dhawan
First page to second page of this thread and it feels like you've read multiple threads in a single go!

Attack1988 - suggest you could start a different thread if you've more questions.