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
 

 

Syncsort and symnames error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Syncsort and symnames error
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: 2150
Location: At my coffee table

PostPosted: Thu May 22, 2008 1:13 pm    Post subject:
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    Post subject: Reply to: Syncsort and symnames error
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    Post subject:
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    Post subject: Reply to: Syncsort and symnames error
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

http://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    Post subject:
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

Senior Member


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

PostPosted: Thu May 22, 2008 8:23 pm    Post subject:
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    Post subject: Reply to: Syncsort and symnames error
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

Senior Member


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

PostPosted: Tue May 27, 2008 11:50 am    Post subject:
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: 500
Location: USA

PostPosted: Tue May 27, 2008 7:51 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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