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 - Converting 'yyyymmdd' date to a 'yyyyddd' date:

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Fri May 14, 2010 2:56 pm    Post subject: Syncsort - Converting 'yyyymmdd' date to a 'yyyyddd' date:
Reply with quote

I tried to convert from
Quote:
'yyyymmdd' date to a 'yyyyddd' date:
, but when i submit the jcl i get U0268 abend.
Code:

//STEP10 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
20090520
20100106
//SORTOUT DD SYSOUT=*
//SYSIN DD *
  OPTION COPY
  INREC BUILD=(1,8,Y4T,TOJUL=Y4T)
/*

Error am getting
Code:
 SYSIN :
   OPTION COPY
   INREC BUILD=(1,8,Y4T,TOJUL=Y4T)
                    *
 WER268A  INREC STATEMENT   : SYNTAX ERROR
 WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE


My DFSORT version is V1R10 . Please help in solving the error
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Fri May 14, 2010 3:35 pm    Post subject:
Reply with quote

Quote:
My DFSORT version is V1R10 . Please help in solving the error


you can start by looking at you own error messages,
which indicate that you are using SYNCSORT.

Quote:

WER268A INREC STATEMENT : SYNTAX ERROR
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message
sun_job

New User


Joined: 18 Sep 2007
Posts: 73
Location: Bangalore

PostPosted: Fri May 14, 2010 3:54 pm    Post subject: Hi
Reply with quote

I tried with syncsort , also getting the same error. Any resolutions for this, i could not solve it
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: Fri May 14, 2010 8:35 pm    Post subject:
Reply with quote

Hello,

You need to look in the Syncsort documentation and use a valid date type.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri May 14, 2010 10:11 pm    Post subject:
Reply with quote

Sun,

For the record, your job works fine with DFSORT which supports Y4T and TOJUL. AFAIK, Syncsort does not support Y4T or TOJUL.
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm
No new posts SUBSTR for Date functions Shaheen Shaik DB2 4 Thu Apr 06, 2017 2:14 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm


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