JCL - Get count of non space chars in a given area (mainframe)
问题 I need to prepare some input data to run through a program, the data should be in the following format. UID (1-11)|TxtLen (12-16)| Text (17-62) I can use sort to position the fields properly and get the UID and text fields. The ‘TxtLen’ is should contain the number of chars from the start of the text field to the last char in the text field. i.e. “Hello”’s TxtLen is 5, “Hel lo”’s TxtLen is 6, “Hello World”’s TxtLen is 11, etc... I want to know if there is a way of getting the TxtLen through