View previous topic :: View next topic
|
Author |
Message |
Khadhar Basha
New User
Joined: 28 Oct 2014 Posts: 44 Location: India
|
|
|
|
Hi All,
I have the below requirement:
INPUT:
PROCEDURE AAA WAS EXPANDED USING PRIVATE LIBRARY AAA.BBB.CCC
PROCEDURE BBBCCDD WAS EXPANDED USING PRIVATE LIBRARY DDD.EEE.FFF
PROCEDURE ZZZYYD WAS EXPANDED USING PRIVATE LIBRARY GGG.HHH.III
PROCEDURE PROCLIB WAS EXPANDED USING PRIVATE LIBRARY JJJ.KKK.LLL
PROCEDURE WDLYCREF WAS EXPANDED USING PRIVATE LIBRARY MMM.NNN.OOO
I have got this input from job log using below
INCLUDE COND=(1,130,SS,EQ,C'EXPANDED USING PRIVATE LIBRARY ')
But OUTPUT I need is (Only libraries) :
AAA.BBB.CCC
DDD.EEE.FFF
GGG.HHH.III
JJJ.KKK.LLL
MMM.NNN.OOO
Since the input starting position of libraries is not at a particular position I was unable to use OUTREC.
But idea is writing library names after word PRIVATE LIBRARY "start positon of library"
Please help. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Look at PARSE and examples of its use. |
|
Back to top |
|
|
Khadhar Basha
New User
Joined: 28 Oct 2014 Posts: 44 Location: India
|
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
If you have SyncSORT, please don't post in the DFSORT part of the forum.
SyncSORT supports PARSE, so you don't need to use SyncTOOL (aliased to ICETOOL).
Just STARTAFT C'LIBRARY ' FIXLEN=44 should do you. |
|
Back to top |
|
|
Arunkumar Chandrasekaran
New User
Joined: 01 Jun 2010 Posts: 63 Location: India
|
|
|
|
Hi Bill,
just curious to know. Is there so much difference between DFSORT and SyncSort to move to JCL category.?
In fact last 4 years I was solving my SORT requests with the help of DFSORT-Getting started manual without the knowledge of My Site using SyncSort.
I came to know that only thru one of the recent post in this forum.
Thing is even I was using SynCsort, DFSORT manual worked great for me
except I faced few issues in TRAN=HEX and BITS function.So I thought both are almost same in function though they are entirely two different products.
Is it wrong and is there any vast difference between them to move to JCL category???
Thanks.
Arun |
|
Back to top |
|
|
|