IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Syncsort - INCLUDE/OMIT FIELD BEYOND RECORD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vignesh babu.ts
Currently Banned

New User


Joined: 12 Nov 2010
Posts: 8
Location: Chennai

PostPosted: Fri Dec 10, 2010 12:37 am
Reply with quote

When I tried to convert the file from tape to DASD by giving SORT condition. Here I want to pickup the particular record by using SORT condition.

Job:
Code:
                         
//PS010    EXEC PGM=SORT                                       
//SORTIN  DD DISP=SHR,DSN=DSRB0015.NAME1.G0120V00
//        DD DISP=SHR,DSN=DSRB0015.NAME1.G0120V00
//        DD DISP=SHR,DSN=DSRB0015.NAME1.G0121V00
//        DD DISP=SHR,DSN=DSRB0015.NAME1.G0122V00
//        DD DISP=SHR,DSN=DSRB0015.NAME1.G0123V00
//SORTOUT DD DSN=DSRB0015.NAME1.OUTPUT,                 
//          DISP=(,CATLG,DELETE),                           
//          SPACE=(CYL,(150,100),RLSE),...         
//SYSOUT   DD  SYSOUT=*
//SYSIN DD *                               
  OPTION COPY,VLSHRT                       
  INCLUDE COND=(109,10,CH,EQ,C'BELKK2DDI5'),AND,
                           (9,6,CH,EQ,C'RAMESH'))
  SUM FIELDS=NONE
/*

ABEND:MAXCC=16.
SYSOUT MESSAGE:
WER108I  SORTIN   : RECFM=FB   ; LRECL=    50; BLKSIZE= 27000
WER110I  SORTOUT  : RECFM=FB   ; LRECL=    50; BLKSIZE= 27000
WER250A  INCLUDE/OMIT FIELD BEYOND RECORD                   
WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE               


Thanks,
Vignesh. icon_sad.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Dec 10, 2010 12:57 am
Reply with quote

Hello,

How will you look at position 109 when the lrecl is 50?

Why is SUM FIELDS=NONE specfied?

Did you look in your Syncsort documentation and read about the WER250A message?

Suggest you read about the VLTEST parm.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Dec 10, 2010 3:27 am
Reply with quote

Hi Dick,

the output shows the input file as an FB file, so I don't think VLSHRT and VLTEST is applicabble.


Gerry
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Dec 10, 2010 4:26 am
Reply with quote

Hi Gerry,

Good catch - i'm slow today. . . Misread what the file contained. icon_redface.gif

Which makes it even more curious why position 109 is referenced. . .

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top