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
 

 

Dataset allocation using the ALLOC command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Dataset allocation using the ALLOC command
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

Moderator Team Head


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

PostPosted: Tue Mar 18, 2008 6:47 pm    Post subject: Reply to: Tape file allocation using Rexx??
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: 8593
Location: Back in jolly old England

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


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

Active User


Joined: 22 Jan 2008
Posts: 195
Location: India

PostPosted: Wed Mar 19, 2008 1:18 pm    Post subject:
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

Senior Member


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

PostPosted: Wed Mar 19, 2008 1:48 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am


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