Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us