MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Move failed to Endevor

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Nancy
Beginner


Joined: 23 May 2003
Posts: 77
Topics: 26

PostPosted: Tue May 16, 2006 6:50 am    Post subject: Move failed to Endevor Reply with quote

Any idea, why I am getting this JCL error while moving the program to Endevor ....

DSNH104I DSNHPARS ILLEGAL SYMBOL ",". SOME SYMBOLS THAT MIGHT BE LEGAL ARE: + -

Guess it is something with the Profile option, but not very sure Sad

Regards
Nancy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue May 16, 2006 6:54 am    Post subject: Reply with quote

Quote:

Guess it is something with the Profile option, but not very sure


Nancy,

It is DB2 error. One of your sql statements has an error. You should also have got the line number of error

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nancy
Beginner


Joined: 23 May 2003
Posts: 77
Topics: 26

PostPosted: Tue May 16, 2006 7:04 am    Post subject: Reply with quote

Yes Kolusu, Its thrown at the below SQL but I could not find anything wrong with that.

Code:

     087000     EXEC SQL                                           
                                                                   
IGYDS0226-E DSNH104I DSNHPARS  ILLEGAL SYMBOL ",". SOME SYMBOLS THAT
            ARE: + - AND                                           
                                                                   
                    DECLARE  SIBR521_CSR        CURSOR FOR         
     087200         SELECT   USR_ID                                 
                           , CH_CNSMR_ID                           
                           , CNSMR_ID                               
     087230                , MSG_REQ_TYPE                           
     087240                , TXN_VALUE                             
                           , LOG_REASON_CODE                       
                           , COMP_CODE                             
     087280                , BUS_RESP_CODE                         
                           , SRC_ACCT_TYPE                         
087291                , SLA_LOG_TMSTP                         
                      , REASON_CODE                           
                      , SESSN_NBR                             
087300         FROM                                           
087400             SLA_BILL_LOG                               
087500         WHERE                                         
087600             MQ_TMSTP BETWEEN :WW-START-TS AND :WW-END-TS
087700         AND                                           
088000             LOG_REASON_CODE = 13                       
               FOR READ ONLY                                 
088800     END-EXEC.                                         

Would you suggest something please ?

Regards
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue May 16, 2006 7:18 am    Post subject: Reply with quote

Nancy,

The compiler is complaining about a "," so it must be one of the columns in your select statement. So make sure that you spelled all the columns correctly matching your table layout.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Nancy
Beginner


Joined: 23 May 2003
Posts: 77
Topics: 26

PostPosted: Tue May 16, 2006 7:28 am    Post subject: Reply with quote

Yes, all the column names are correctly typed.
Actually I copied this SQL from a document and it is giving problem for the junk characters. But when I re-typed it manually on mainframe, it worked fine and moved to Endevor.
No idea what the reason is, again feel that something related to profile options. Earlier I used to do PACK OFF to get rid of these special chars but that is also not working now.

Regards
Back to top
View user's profile Send private message
Nancy
Beginner


Joined: 23 May 2003
Posts: 77
Topics: 26

PostPosted: Wed May 17, 2006 5:50 am    Post subject: Reply with quote

Kolusu,

It worked for one of the program but now the same problem is coming to another two. Can you suggest something ? We have verified the SQL against Table and the column names look good.

Thanks
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Wed May 17, 2006 12:15 pm    Post subject: Reply with quote

Maybe, if you retyped manually for the other two programs.... ?
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed May 17, 2006 12:32 pm    Post subject: Reply with quote

in ISPF, try typing F P'.' and see if there are invalid characters in the file that are not shown in the editor. If there are, use the command C P'.' ' ' ALL to convert them to spaces. Some emulators add bad characters if you 'paste' data into them. Also, if you edited the file on a PC and uploaded the file, you may have TAB characters that the PC knows about but that the host does not understand. Those may show up as X'05' characters at the host (use HEX ON to see).
Back to top
View user's profile Send private message Visit poster's website
Nancy
Beginner


Joined: 23 May 2003
Posts: 77
Topics: 26

PostPosted: Thu May 18, 2006 3:10 am    Post subject: Reply with quote

Thanks for your help.
Couldnt really identify the reason but programs are working now.

Cheers
Nancy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group