If you really modify massive z/os jcl, CA Neat will do it nice.
Alain Benveniste
Envoyé de mon iPhone
Le 17 déc. 2009 à 21:12, "Schuh, Richard" <[email protected]> a écrit :
'PIPE (end \) literal CLASS=P,MSGLEVEL=(1,1),MSGCLASS=X',
'| split before string /(/',
'| split after string /)/',
'| l: locate /(/',
'| f: faninany',
'| deblock linend ~',
'| cons',
'\ l:',
'| change /,/ /~/',
'| f:'
Regards,
Richard Schuh
-----Original Message-----
From: CMSTSO Pipelines Discussion List
[mailto:[email protected]] On Behalf Of Hughes, Jim
Sent: Thursday, December 17, 2009 11:55 AM
To: [email protected]
Subject: Parsing help
I am parsing some Z/OS JCL and need some help splitting things apart.
Take this sample line:
CLASS=P,MSGLEVEL=(1,1),MSGCLASS=X
I'd like to end withL
CLASS=P,
MSGLEVEL=(1,1),
MSGCLASS=X
I'm good with the SPLIT AFTER /,/ though it messes up the
MSGLEVEL stuff.
Any suggestions?
____________________
Jim Hughes
603-271-5586
"It is fun to do the impossible."