View previous topic :: View next topic |
Author |
Message |
kris_madras Beginner
Joined: 07 Apr 2004 Posts: 41 Topics: 30
|
Posted: Fri Jul 16, 2004 5:37 am Post subject: Solution required.. using SYSDSN ... |
|
|
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 |
|
 |
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Fri Jul 16, 2004 7:17 am Post subject: |
|
|
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 |
|
 |
moyeenkhan Beginner
Joined: 04 Dec 2002 Posts: 64 Topics: 21
|
Posted: Mon Jul 19, 2004 12:05 pm Post subject: Try Sysdsn("'"xDsName"'") |
|
|
Try
xDsname="xxxxxxxx.xxxxxxxx.xxxxxxxx"
xStatus=Sysdsn("'"xDsName"'") |
|
Back to top |
|
 |
srinivasan_srisailan Beginner
Joined: 18 May 2004 Posts: 11 Topics: 3
|
Posted: Wed Jul 21, 2004 11:25 am Post subject: |
|
|
TRY:
DSN1 = "'"||YOUR.FILE||"'"
IF SYSDSN(DSN1) = "OK" THEN
------
ELSE
------ |
|
Back to top |
|
 |
|
|