I have test results containing SYSPRINT for a regression test suite that have been copied to unix and had the ASA control characters stripped out. I'm recompiling the (PL/I) code and want to compare the results against the previous versions, but the SYSPRINT of my new PL/I programs (which I am redirecting to a DATASET) has ASA control characters in the output.
Is there a JCL mechanism to strip the ASA control characters from the DATASET that the SYSPRINT output is saved to?
jcl to strip asa control characters?
-
- Registered Member
- Posts: 15
- Joined: Fri Mar 03, 2017 2:01 am
- Contact:
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: jcl to strip asa control characters?
If your data set is FBA or VBA, changing it to FB or VB may keep the carriage control characters out of it, but this is by no means certain.
Your best bet would be to use the utility of your choice (IEBGENER and SORT are both good; if your site has SAS it is excellent for this) to copy the data set (bytes 2 through ... ) to another FB (or VB) data set.
Your best bet would be to use the utility of your choice (IEBGENER and SORT are both good; if your site has SAS it is excellent for this) to copy the data set (bytes 2 through ... ) to another FB (or VB) data set.
- prino
- Registered Member
- Posts: 68
- Joined: Sun Jun 01, 2014 4:15 am
- Location: Vilnius, Lithuania
- Contact:
Re: jcl to strip asa control characters?
Use SuperC with different column CMPCOLMN/O options for the old and new files.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute