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: 10210
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: 2180
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 OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm


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