View previous topic :: View next topic
Author
Message
sanjayis01 Warnings : 1 New User Joined: 13 Jun 2007Posts: 55 Location: banaglore
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
CICS Guy Senior Member Joined: 18 Jul 2007Posts: 2146 Location: At my coffee table
Please post you sysins and all your sysouts.....
Back to top
sanjayis01 Warnings : 1 New User Joined: 13 Jun 2007Posts: 55 Location: banaglore
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
temp.FILE
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
sril.krishy Active User Joined: 30 Jul 2005Posts: 183 Location: hyderabad
sanjayis01,
Can you tell us what is the o/p you are expecting and the conditions for that ?
Thanks
Krishy
Back to top
sanjayis01 Warnings : 1 New User Joined: 13 Jun 2007Posts: 55 Location: banaglore
Back to top
sril.krishy Active User Joined: 30 Jul 2005Posts: 183 Location: hyderabad
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
Anuj Dhawan Superior Member Joined: 22 Apr 2006Posts: 6250 Location: Mumbai, India
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
sanjayis01 Warnings : 1 New User Joined: 13 Jun 2007Posts: 55 Location: banaglore
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
Anuj Dhawan Superior Member Joined: 22 Apr 2006Posts: 6250 Location: Mumbai, India
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
Alissa Margulies SYNCSORT Support Joined: 25 Jul 2007Posts: 496 Location: USA
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
Please enable JavaScript!