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

SYNCSORT U0016 - syntax error


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sasi Kiran Patha
Warnings : 2

New User


Joined: 19 Nov 2006
Posts: 73
Location: Hyederabad

PostPosted: Sat Jul 26, 2008 4:44 pm
Reply with quote

hi,
im trying to overlay a PD field in SORTin data set
present at offset 1659 with +100. The SORTIN data set has invalid numeric data.The length of the PD data is 2.
Im getting the following error.What could be wrong and how do we correct it. The '*' mark appeared below WHEN.

SYSIN : OPTIOn COPY
INREC IFTHEN=(WHEN(591,2,CH,EQ,'50'),
*
OVERLAY=(1659:+100,TO=PD,LENGTH=2))

WER161B ALTERNATE PARM USED
WER268A INREC STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Jul 26, 2008 4:54 pm
Reply with quote

even if You are invoking ICEMAN,
You are really using SYNCSORT ( see the wer.... messages )
topic will be moved to jcl
did You search the forum for hints ??
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: Sat Jul 26, 2008 10:43 pm
Reply with quote

Hello,

If INREC begins in column 1, this is an error.

Please re-post your sort control info using copy/paste and the "Code" tag to preserve alignment. Do not key jcl, control info or diagnostic info - it is too error prone. Use Preview to see how your post will appear to the forum. When you are satisfied with the Preview, click Submit.

You should also include the release info that is at the top of the sysout that contained the WER messages.
Back to top
View user's profile Send private message
Arun Raj

Moderator


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

PostPosted: Sun Jul 27, 2008 7:19 am
Reply with quote

Sasi Kiran Patha,

Try this syntax,

Code:

  INREC IFTHEN=(WHEN=(591,2,CH,EQ,'50'),
     OVERLAY=(1659:+100,TO=PD,LENGTH=2))


Thanks,
Arun
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 PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top