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

Regarding SEQNUM and IF-THEN in SYNCSORT


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Suguna

New User


Joined: 27 Jun 2005
Posts: 1
Location: Pune

PostPosted: Mon Jun 27, 2005 7:32 pm
Reply with quote

Hi,

I am getting foll error msg and it returns Abend code S0016 when i am executing the Sortcard.
i couldn't able to find it out.
Thanks in advance
Suguna.



PRODUCT LICENSED FOR CPU SERIAL NUMBER 11DD4, MODEL 2064 1C8
SYSIN :
OPTION COPY
OUTREC IFTHEN=(WHEN=(1,3,CH,EQ,C'SUD'),
*
OVERLAY=(6:SEQNUM,2,ZD))
WER268A OUTREC STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000

Code:


//PS9728AC JOB (U,4019),'DEVI',CLASS=0,MSGCLASS=X,MSGLEVEL=(1,1),
//    NOTIFY=&SYSUID                                             
//S1 EXEC PGM=SORT                                               
//SYSPRINT DD SYSOUT=*                                           
//SYSOUT   DD SYSOUT=*                                           
//SORTIN   DD DSN=PS9728A.DEVI.PS1,DISP=SHR                       
//SORTOUT  DD DSN=PS9728A.DEVI.AA,DISP=(NEW,CATLG),               
//         SPACE=(TRK,(2,2)),                                     
//         DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)                   
//SYSIN DD *                                                     
    OPTION COPY                                                   
    OUTREC IFTHEN=(WHEN=(1,3,CH,EQ,C'SUD'),                       
           OVERLAY=(6:SEQNUM,2,ZD))                               



*
Back to top
View user's profile Send private message
jayesh_g

New User


Joined: 03 Mar 2004
Posts: 23

PostPosted: Mon Jun 27, 2005 10:20 pm
Reply with quote

AFAIK, IFTHEN is supported only by DFSORT and not SyncSort.

-Jayesh.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Count Records with a crietaria in a f... DFSORT/ICETOOL 5
No new posts DFSORT/SYNCSORT/ICETOOL JCL & VSAM 8
No new posts Syncsort "Y2C" Function SYNCSORT 1
No new posts Arithmetic division using Syncsort SYNCSORT 6
Search our Forums:

Back to Top