Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Regarding SEQNUM and IF-THEN in SYNCSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Regarding SEQNUM and IF-THEN in SYNCSORT
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: 24

PostPosted: Mon Jun 27, 2005 10:20 pm    Post subject: Re: Regarding SEQNUM and IF-THEN in SYNCSORT
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 5 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts Syncsort - NULL in Integer field chec... nartcr SYNCSORT 4 Thu Oct 06, 2016 6:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us