Created
December 15, 2022 13:48
-
-
Save lbdyck/f5b3efe4eda61355ad78f05c486d57b0 to your computer and use it in GitHub Desktop.
Routine to report if 8 Character Userids are Allowed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* rexx */ | |
say 'Length of supported TSO Userids:' userid_len_check() | |
exit | |
Userid_Len_Check: | |
/* --------------------------------------- * | |
| Check the 8 character TSO Userid state. | | |
* --------------------------------------- */ | |
cvt = c2d(storage(10,4)) | |
tsvt = c2d(storage(d2x(cvt+156),4)) /* cvt + 9C */ | |
tsvtumxl = c2d(storage(d2x(tsvt + 6), 1)) /* tsvt + 6 */ | |
if tsvtumxl = 0 then return 7 | |
else | |
return tsvtumxl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment