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 - 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: 6970
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 Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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