IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

issue with Syntax error


 
IBM Mainframe Forums -> SYNCSORT
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
shub2204

New User


Joined: 13 May 2020
Posts: 19
Location: India

PostPosted: Wed Aug 12, 2020 3:11 pm
Reply with quote

HI ,

Can someone please take a look what is the issue with my code.
Code:

ICE805I 1 JOBNAME: CPFPH06A , STEPNAME: STEP0010
ICE802I 0 BLOCKSET     TECHNIQUE IN CONTROL
ICE143I 0 BLOCKSET     COPY  TECHNIQUE SELECTED
ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AN
ICE000I 1 - CONTROL STATEMENTS FOR 5650-ZOS, Z/OS DFSORT V2R3  - 10:29 ON WED AU
            SORT FIELDS=COPY
            OUTREC FIELDS=(1,1,80)
             OUTFIL FILES=01,OMIT=(1,1,SS,EQ,C'.'),FTOV,
             IFTHEN=(WHEN=(1,80,SS,EQ,C'YYYYMMDD'),
             FINDREP=(IN=C'YYYYMMDD',OUT=DATE1))
                                         £
ICE007A 1 SYNTAX ERROR
             OUTFIL FILES=02,INCLUDE=(1,1,SS,EQ,C'.'),FTOV
ICE751I 0 C5-BASE   C6-BASE   C7-BASE   C8-BASE   E7-I49502
ICE052I 3 END OF DFSORT
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1095
Location: Dublin, Ireland

PostPosted: Wed Aug 12, 2020 4:05 pm
Reply with quote

First, why post in the SYNCSORT forum when you're using IBM's DFSORT (as indicated by the output messages) ?

Try using:
Code:
 FINDREP=(IN=C'YYYYMMDD',OUT=C'&DATE1'))


Garry
Back to top
View user's profile Send private message
shub2204

New User


Joined: 13 May 2020
Posts: 19
Location: India

PostPosted: Wed Aug 12, 2020 4:16 pm
Reply with quote

Hello Garry .

I have oved this to DFSORT but putting &DATE1 simply replaced it with &DATE1 . I want today's date to be added here.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. All times are GMT + 6 Hours
Forum Index -> SYNCSORT
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts can someone please help me in finding... IBM Tools 9
No new posts SYNCSORT Error - CONTROL FIELD BEYOND... SYNCSORT 10
No new posts Easytrieve EZABX007 with error code 0... CA Products 7
No new posts SARBCH REPORT DD writing error CA Products 1
No new posts EIBRESP =16 & EIBRESP2 = 01 while... CICS 4

Back to Top