Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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: 8657
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 How could i share my personal dataset... James Halley TSO/ISPF 1 Fri Mar 23, 2018 9:41 pm
No new posts Need help with 002-030 ABEND in TSO R... Terry Tallian TSO/ISPF 0 Sat Mar 17, 2018 1:13 am
This topic is locked: you cannot edit posts or make replies. How could i share my personal dataset... samenxia163 TSO/ISPF 1 Fri Mar 09, 2018 12:18 pm
No new posts Enterprise PL/I - dynamic allocation ... prino PL/I & Assembler 0 Mon Jan 29, 2018 10:17 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us