Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Syncsort - INCLUDE/OMIT FIELD BEYOND RECORD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Syncsort - INCLUDE/OMIT FIELD BEYOND RECORD
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

Site Director


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

PostPosted: Fri Dec 10, 2010 12:57 am    Post subject:
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: 1703
Location: Australia

PostPosted: Fri Dec 10, 2010 3:27 am    Post subject:
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

Site Director


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

PostPosted: Fri Dec 10, 2010 4:26 am    Post subject: Reply to: Syncsort - INCLUDE/OMIT FIELD BEYOND RECORD
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us