Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10457
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: 2353
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 Error executing Java program in OSGI ... danik56 CICS 0 Thu Apr 26, 2018 12:16 am
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts How syntax check at Bind time is diff... Poha Eater DB2 5 Wed Mar 21, 2018 9:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us