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 Record Not found in AlX but record re... mukun264 COBOL Programming 5 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts outrec field outside range Danielle.Filteau SYNCSORT 10 Sat Mar 04, 2017 2:37 am


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