Hi,
I have to confess that i wasn't aware of dfsort's symnames.
What an elegant way to specify sort criteria!
"departement,A,birthday,D" is so much more readable than "7,3,PD,A,13,10,CH,D".
I was not able to find out, if there's a similar way to specify sort criteria in plisrta?
Thanks, br Johann
On 3/5/21 5:50 AM, johann woeckinger wrote:
Hi,On most systems, PLISRTA /is/ DFSORT. Have you tried simply adding a
I have to confess that i wasn't aware of dfsort's symnames.
What an elegant way to specify sort criteria!
"departement,A,birthday,D" is so much more readable than "7,3,PD,A,13,10,CH,D".
I was not able to find out, if there's a similar way to specify sort criteria in plisrta?
Thanks, br Johann
SYMNAMES DD to your JCL?
--
John W. Kennedy
"The blind rulers of Logres
Nourished the land on a fallacy of rational virtue."
-- Charles Williams. "Taliessin through Logres: Prelude"
Wow, this works indeed.
Specify a SYMNAMES DD and use the symbols in code.
On Monday, March 8, 2021 at 7:27:01 PM UTC+1, johann woeckinger wrote:
Wow, this works indeed.
Specify a SYMNAMES DD and use the symbols in code.
But fiddling around with it i found that i don't like the idea: the pgm
gets dependent on a completely separate dataset which i want to avoid in most cases.
Anyway, it was an interesting experiment,
br Johann
Thanks for the idea!But fiddling around with it i found that i don't like the idea: the pgm gets dependent on a completely separate dataset which i want to avoid in most cases.
Anyway, it was an interesting experiment,
br Johann
Create the dataset in the program and dynnalloc the symnames dd before invoking the sort,
--
Pete
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (4 / 12) |
| Uptime: | 29:23:35 |
| Calls: | 12,108 |
| Calls today: | 8 |
| Files: | 15,006 |
| Messages: | 6,518,244 |