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 

Solution required.. using SYSDSN ...

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
kris_madras
Beginner


Joined: 07 Apr 2004
Posts: 41
Topics: 30

PostPosted: Fri Jul 16, 2004 5:37 am    Post subject: Solution required.. using SYSDSN ... Reply with quote

Hi,
I need an urgent help.
I am checking the PDS using SYSDSN as by taking PDS member from a file


The SYSDSN takes the parameter as follows

SYSDSN("'E2CTSS2.IIRS.PARMLIB'")


I appended " and ' using || operator as

VAR = 'E2CTSS2.IIRS.PARMLIB(COBRUN)'
VAR1 = '"' || VAR || '"'


I am getting an error

EXTRANEOUS INFORMATION WAS IGNORED: "E2CTSS2.IIRS.PARMLIB(COBRUN)"

How can i solve this...?
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Fri Jul 16, 2004 7:17 am    Post subject: Reply with quote

Why the double quotes around the dsname ??? Did you see the examples in the fine manual ?

O.
________
vaporgenie vaporizer


Last edited by ofer71 on Sat Feb 05, 2011 11:18 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
moyeenkhan
Beginner


Joined: 04 Dec 2002
Posts: 64
Topics: 21

PostPosted: Mon Jul 19, 2004 12:05 pm    Post subject: Try Sysdsn("'"xDsName"'") Reply with quote

Try
xDsname="xxxxxxxx.xxxxxxxx.xxxxxxxx"
xStatus=Sysdsn("'"xDsName"'")
Back to top
View user's profile Send private message Send e-mail
srinivasan_srisailan
Beginner


Joined: 18 May 2004
Posts: 11
Topics: 3

PostPosted: Wed Jul 21, 2004 11:25 am    Post subject: Reply with quote

TRY:

DSN1 = "'"||YOUR.FILE||"'"
IF SYSDSN(DSN1) = "OK" THEN
------
ELSE
------
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 -> TSO and ISPF 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