Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
issue with Syntax error

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

New User


Joined: 13 May 2020
Posts: 7
Location: India

PostPosted: Wed Aug 12, 2020 3:11 pm    Post subject: issue with Syntax error
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: 1088
Location: Dublin, Ireland

PostPosted: Wed Aug 12, 2020 4:05 pm    Post subject:
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: 7
Location: India

PostPosted: Wed Aug 12, 2020 4:16 pm    Post subject: Thanks Garry
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.    IBMMAINFRAMES.com Support Forums -> SYNCSORT All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Easytrieve EZABX007 with error code 0... Carol Schablow CA Products 7 Thu Sep 24, 2020 3:30 am
No new posts SARBCH REPORT DD writing error kris_madras CA Products 1 Tue Sep 15, 2020 4:22 pm
No new posts EIBRESP =16 & EIBRESP2 = 01 while... Farheen CICS 4 Mon Aug 24, 2020 2:05 pm
No new posts Force a Return Code and print error m... Rick Ryan SYNCSORT 30 Thu Jun 25, 2020 1:18 am
No new posts JCL ERROR - Opernad too Long dharmaraok JCL & VSAM 4 Tue Apr 21, 2020 1:20 pm

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