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: 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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

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