MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

connect to horizantal from groups

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
tempuser
Beginner


Joined: 05 Oct 2005
Posts: 28
Topics: 20
Location: INDORE

PostPosted: Wed Aug 01, 2007 7:47 am    Post subject: connect to horizantal from groups Reply with quote

Hi,
I am having a FB file with 133 as LRECL.The input of the file looks
Code:

XXXXXX1                    --------- STRING(S) FOUND --------------
                                                                   
    41  //JS100    EXEC YYYYYY,                                   
                                                                   
XXXXXX2                    --------- STRING(S) FOUND --------------
                                                                   
    33  //JS010    EXEC YYYYYYY,                                   
                                                                   
XXXXXX3                    --------- STRING(S) FOUND --------------
                                                                   
    47  //JS020    EXEC YYYYYYY,                                   

    47  //JS030    EXEC YYYYYYY,

    47  //JS040    EXEC YYYYYY1,



The XXXXXX1 is having the start position of 3 and it can have max of 8 chracters.The STRING(S) FOUND is having the start position at 41.

I want to generate an o/p file as
Code:
 
XXXXXX1   YYYYYY                                                                   
XXXXXX2   YYYYYY                                                                       
XXXXXX3   YYYYYY  YYYYYYYY YYYYYY1     

is this possible thru SYNCSORT ?

Thank you
Back to top
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Wed Aug 01, 2007 8:14 am    Post subject: Re: connect to horizantal from groups Reply with quote

tempuser wrote:
Code:
    47  //JS020    EXEC YYYYYYY,                                   

    47  //JS030    EXEC YYYYYYY,

   47  //JS040    EXEC YYYYYY1,
Are they all on the same line?
Back to top
View user's profile Send private message
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Wed Aug 01, 2007 8:26 am    Post subject: Reply with quote

CICSGUY,
No,they are in diffrent lines.

Thanks
_________________
----------------
Thanks&Regards
Bprasanna
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Aug 01, 2007 8:31 am    Post subject: Reply with quote

tempuser,

Use the option IDPFX which would give you the desired results.

Code:

//STEP0100  EXEC PGM=ISRSUPC,PARM=(SRCHCMP,IDPFX)
//NEWDD     DD DSN=your pds to be searched,
//             DISP=SHR
//OUTDD  DD SYSOUT=*
//SYSIN  DD *
SRCHFOR  'search string'
/*                     


Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sat Oct 06, 2007 3:24 am    Post subject: Reply with quote

Kolusu,

IDPFX sur does save a lot of parsing.......................!!

thx for the tip

dbz
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group