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
 
Syntax Error in Sort Statement ( ISPF PACK ON / OFF issue)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
rahul_jot

New User


Joined: 17 Aug 2005
Posts: 22
Location: Pune

PostPosted: Wed Sep 16, 2009 1:51 pm    Post subject: Syntax Error in Sort Statement ( ISPF PACK ON / OFF issue)
Reply with quote

I have SORT CARD
OUTFIL FNAMES=SORTFILA,INCLUDE=(20,1,CH,EQ,C'A')
OUTFIL FNAMES=SORTFILB,INCLUDE=(20,1,CH,EQ,C'B')
OUTFIL FNAMES=SORTFILB,INCLUDE=(20,1,CH,EQ,C'C')
OPTION COPY
The Char 'O' in the OUTFIL starts at column 6. This card is provided as cataloged PDS dataset which is FB with LRECL=80.
I am getting Syntax error with the below message:
=======================================
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R10 - 03:55 ON WED SE
F & OUTFIL FNAMES=SORTFILA,INCLUDE=(20,1,CH,EQ,C'A')
$
ICE007A 1 SYNTAX ERROR
ILB,INCLUDE=(20,1,CH,EQ,C'C') OUTFIL FNAMES=SORTFILC,INC
========================================
When the same sort card is copied into different PDS and used in the Job, it runs fine. I have encountered this multiple time with same error. Has anyone come across the same error and know why it happens so.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Wed Sep 16, 2009 1:57 pm    Post subject: Reply to: Syntax Error in Sort Statement
Reply with quote

most probably the dataset/member giving the error has been saved with "PACK ON"

open(EDIT) the member,
in the command line type "PACK OFF;SAVE" and it should fix it

please post the result and if my suggestion worked I' ll move the topic to the proper forum ... ISPF icon_biggrin.gif
Back to top
View user's profile Send private message
rahul_jot

New User


Joined: 17 Aug 2005
Posts: 22
Location: Pune

PostPosted: Wed Sep 16, 2009 2:44 pm    Post subject: Reply to: Syntax Error in Sort Statement
Reply with quote

Thanks a lot!!! The job is working perfectly after doing Pack OFF.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Wed Sep 16, 2009 2:45 pm    Post subject: Reply to: Syntax Error in Sort Statement
Reply with quote

thnks for the info... moving the topic around
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts 3270 Data stream error Benchwarmer CICS 4 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 Sort numeric fields with trailing spaces sancraig16 SYNCSORT 7 Tue Apr 03, 2018 1:21 am
No new posts Find & Replace string in CA-SORT mrgnndhmk CA Products 1 Fri Mar 30, 2018 12:58 am
No new posts SORT 3 files,extract specific fields ... Kiransr DFSORT/ICETOOL 13 Fri Mar 23, 2018 10:54 am

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