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

Is it possible to separate the omitted records alone?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Jun 23, 2009 12:21 pm
Reply with quote

Gay251319,

Do you have a space after the OMIT?
Quote:

It shows the same S000 U0016 abend .. syntax error
SYSIN :
SORT FIELDS=COPY
OUTFIL FNAMES=SORTOF01,BUILD=(1,300),OMIT =(12,11,CH,EQ,C'37420120988')
*
If yes, remove the space and try moving your BUILD statement to the next line as below.
Code:
//SYSIN    DD *                                               
 SORT FIELDS=COPY                                             
 OUTFIL FNAMES=SORTOF01,                                     
               BUILD=(1,300),OMIT=(12,11,CH,EQ,C'37420120988')
 OUTFIL FNAMES=SORTOF02,SAVE                                 
Back to top
View user's profile Send private message
Gay251319

New User


Joined: 17 Jun 2009
Posts: 57
Location: Kochi

PostPosted: Tue Jun 23, 2009 1:52 pm
Reply with quote

Hi all,

Now its working fine

Its space problem ...

Thank you very much for solving the issue .. Arun and Aaru

And also thanks for everyone for sparing time for me icon_biggrin.gif
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Tue Jun 23, 2009 5:10 pm
Reply with quote

You're welcome.

Quote:
Its space problem
B37 ?icon_lol.gif
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Tue Jun 23, 2009 5:53 pm
Reply with quote

Arun,

Quote:
Its space problem
B37 ?


Proud of you - REAL MAINFRAMER icon_biggrin.gif
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Join multiple records using splice DFSORT/ICETOOL 5
Search our Forums:

Back to Top