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: | 741 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 72:04:51 |
| Calls: | 12,448 |
| Calls today: | 3 |
| Files: | 15,194 |
| Messages: | 6,537,622 |