jcl to strip asa control characters?

JES2/3, JCL, utilities.
Post Reply
peeterjoot
Registered Member
Posts: 15
Joined: Fri Mar 03, 2017 2:01 am
Contact:

jcl to strip asa control characters?

Post by peeterjoot »

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?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: jcl to strip asa control characters?

Post by Robert Sample »

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.
User avatar
prino
Registered Member
Posts: 68
Joined: Sun Jun 01, 2014 4:15 am
Location: Vilnius, Lithuania
Contact:

Re: jcl to strip asa control characters?

Post by prino »

Use SuperC with different column CMPCOLMN/O options for the old and new files.
Robert AH Prins
robertahprins @ the.17+Gb.Google thingy
Some z/OS code here
Post Reply

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

Register

Sign in

Return to “JCL - Job Control Language.”