IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Syntax Error in Sort Statement ( ISPF PACK ON / OFF issue)


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Sep 16, 2009 1:57 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Sep 16, 2009 2:45 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
Search our Forums:

Back to Top