|
(I used to write ReXX macros under MVS and never understood whymidrange systems couldn't do that.)Okay, I gotta ask... Why can't SEU do that? I.e., what "macros" would you like in SEU that can't be done with ReXX? (Not that anyone would _want_ to.)
Here's an example I wanted to use yesterday. I'm fiddling with a CPYFRMIMPF, and I have DDS that has numeric fields in it. That DDS also specifies EDTCDE(whatever). For my tinkering purposes, I need another version of that file's DDS where every field is character.
I can pretty easily change out all the spots that say '5p 0' or '10s 0', making them '5a ' and '10a ', but I can't readily delete the lines that say EDTCDE(whatever). I say 'pretty easily' although it takes several passes to change P to A and S to A, restricting by column and remembering to hide comment lines <g>.
A ReXX macro does all of that in one pass. Now, as the 'real' DDS changes (new fields, different sizes and such), I run my macro over it to translate it into the version that's character-only.
--buck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.