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 U0016 - syntax error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: SYNCSORT U0016 - syntax error
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10276
Location: italy

PostPosted: Sat Jul 26, 2008 4:54 pm    Post subject: Reply to: ICEMAN U0016 - syntax error
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

Site Director


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

PostPosted: Sat Jul 26, 2008 10:43 pm    Post subject:
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: 2284
Location: @my desk

PostPosted: Sun Jul 27, 2008 7:19 am    Post subject:
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    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 NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am


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