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

Syncsort and symnames error


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sanjayis01
Warnings : 1

New User


Joined: 13 Jun 2007
Posts: 55
Location: banaglore

PostPosted: Thu May 22, 2008 1:05 pm
Reply with quote

Code:
SYNCSORT FOR Z/OS  1.2.2.3N    U.S. PATENTS: 4210961, 5117495   (C) 2005 SYNCSO
                                                      z/OS   1.8.0
PRODUCT LICENSED FOR CPU SERIAL NUMBER C585F, MODEL 2094 714              LICEN
*** ERRORS IN SYMNAMES STATEMENTS ***
S2,C'12'S1,C'DFSD'
        *
*** SYNTAX ERROR ***
S3,C'KK'S4,C'1245'
        *
*** SYNTAX ERROR ***
WER470A  SYMNAMES ERRORS FOUND
WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000
WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu May 22, 2008 1:13 pm
Reply with quote

Please post you sysins and all your sysouts.....
Back to top
View user's profile Send private message
sanjayis01
Warnings : 1

New User


Joined: 13 Jun 2007
Posts: 55
Location: banaglore

PostPosted: Thu May 22, 2008 1:48 pm
Reply with quote

Code:
//STEP1   EXEC PGM=ICEMAN
//SYSOUT   DD SYSOUT=*
//SORTIN   DD DSN=TEST.FILE.FILE1,DISP=SHR
//ORIGINAL DD DSN=ORIGINAL.FILE,
//            DISP=(NEW,CATLG,DELETE),
//            UNIT=SYSDA,
//            SPACE=(TRK,(10,10),RLSE),
//            DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
//temp    DD DSN=temp.FILE,
//            DISP=(NEW,CATLG,DELETE),
//            UNIT=SYSDA,
//            SPACE=(TRK,(10,10),RLSE),
//            DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
//SYSIN    DD *
  SORT FIELDS=COPY
  OUTFIL FNAMES=ORIGINAL,
         BUILD=(C'SSN,C',C'''',1,2,C'''',C'S1,C',C'''',3,4,C'''',80:X)
  OUTFIL FNAMES=temp,
         BUILD=(C'SN1,C',C'''',1,2,C'''',C'SN2,C',C'''',3,4,C'''',80:X)
/*

Code:
//STEP2    EXEC PGM=ICEMAN
//SYMNAMES DD DSN=ORIGINAL.FILE,DISP=SHR
//         DD DSN=temp.FILE,DISP=SHR
//SYSOUT   DD SYSOUT=*
//SORTIN   DD DSN=TEST.FILE.FILE1,DISP=SHR
//SORTOUT  DD DSN=TEST.FILE.FILE1,DISP=OLD
//SYSIN    DD *
  SORT FIELDS=COPY
  INREC IFTHEN=(WHEN=(1,2,CH,EQ,S2,3,4,CH,EQ,S1),
       OVERLAY=(1:S3,3:S4))
/*

Step2 is failing beacuse of Symnames syntax error

error i m getting is in the above post.

TEST.FILE.FILE1 This File having data
Code:
********************************* ********************************
12DFSDAFSDAFSDAFDSAFSADFASDFSADFASDFSAFA
****************************************************************

The original file having data
ORIGINAL.FILE
Code:
S2,C'12'S1,C'DFSD

temp.FILE
Code:
S3,C'KK'S4,C'1245'

I am getting error in file exeution in step 2 i am not familiar with SYMNAMES

please help me to solve this issue

If you need more details please let me know.
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Thu May 22, 2008 5:19 pm
Reply with quote

sanjayis01,
Can you tell us what is the o/p you are expecting and the conditions for that ?

Thanks
Krishy
Back to top
View user's profile Send private message
sanjayis01
Warnings : 1

New User


Joined: 13 Jun 2007
Posts: 55
Location: banaglore

PostPosted: Thu May 22, 2008 5:28 pm
Reply with quote

Please refer this link

I am not able to write 2 updated columns in to the input file.
while doing that i m getting that error pasted above

ibmmainframes.com/viewtopic.php?t=30848&start=15
Back to top
View user's profile Send private message
sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Thu May 22, 2008 5:59 pm
Reply with quote

I checked few examples of SYMNAMES.I think you cann't create 2 in a sinlge line.You can use "/" and populate them in 2 diffrent lines and then use them in your next SORT step.


Thanks
Krishy
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu May 22, 2008 8:23 pm
Reply with quote

Hi,

Support for symname symbolics was included in SyncSort for z/OS 1.3. Per your first post, You are using ealier version,
Code:
SYNCSORT FOR Z/OS  1.2.2.3N   


so the error.
Back to top
View user's profile Send private message
sanjayis01
Warnings : 1

New User


Joined: 13 Jun 2007
Posts: 55
Location: banaglore

PostPosted: Thu May 22, 2008 8:50 pm
Reply with quote

For fetching single field from the file and using symnames is working fine for me.

if i try to fecth and put back in to the same file im getting this error


if symname support the version means . it should not work for single field oalso
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue May 27, 2008 11:50 am
Reply with quote

Quote:
if symname support the version means . it should not work for single field oalso
Well, I think Alissa is a better person to reply for this, I would request Her via PM, lets' hope for the best.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Tue May 27, 2008 7:51 pm
Reply with quote

sanjayis01,

Please send me the complete job listings from both the successful run and the failed run and I would be happy to further investigate this issue for you. You can email the listings as text attachments to alissa.margulies@syncsort.com.

Regards,
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top