IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Dataset allocation using the ALLOC command


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sharath S

New User


Joined: 18 Mar 2008
Posts: 5
Location: Mysore

PostPosted: Tue Mar 18, 2008 6:43 pm
Reply with quote

I'm trying to allocate a file using the ALLOC command

"ALLOC DD(FILENM) DA('"FILE_NAME_DATE"') SPACE(10 10) TRACKS
LRECL(80) RECFM (F,B) DSORG(PS)"

The command
SAY "FULL FILE NAME " FILE_NAME_DATE
gives the correct output
FULL FILE NAME R18EPB.J18EPL3.QUEST.CNTLREP.DLY.2008074

But the error it is throwing is
INVALID DATA SET NAME, 'R18EPB.J18EPL3.QUEST.CNTLREP.DLY.2008074'
MISSING DATA SET NAME OR *+
MISSING NAME OF DATA SET TO BE ALLOCATED
62 +++ END
20 +++ call ALLOC_FILE
Error running REXX2, line 62: Unexpected or unmatched END

Can you please tell me what is the problem??
Also please tell me how to handle SYSDSN i.e File already cataloged condition??
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Mar 18, 2008 6:47 pm
Reply with quote

Does 'R18EPB.J18EPL3.QUEST.CNTLREP.DLY.2008074'
look like a valid MVS dataset name to you?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Tue Mar 18, 2008 8:44 pm
Reply with quote


.2008074
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Wed Mar 19, 2008 1:18 pm
Reply with quote

try this command..

TSO ALLOC FI(SYSEXEC) DA('TEST.HELP.REXX') SHR
on ISPF option 6 cmd line.

SYSEXEC is the DD name
TEST.HELP.REXX is valid dataset name
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Mar 19, 2008 1:48 pm
Reply with quote

Hello,

Kevin & expat has provided the right direction, error is because of invalid DSN name.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Free space of a mulitvolume PS datase... TSO/ISPF 7
No new posts REXX to get all Dataset names from a ... CLIST & REXX 5
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts Methodic way to address cryptic alloc... ABENDS & Debugging 2
Search our Forums:


Back to Top