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

How to allocate a file using DCB values of another file


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
foolsbrain

New User


Joined: 15 Apr 2010
Posts: 11
Location: chennai

PostPosted: Thu Oct 14, 2010 7:11 pm
Reply with quote

Is there a way in REXX to allocate a file using the DCB values of another file?
For example, I have a input file in FB format which has record length of 1500. Can I create a new file in REXX using this DCB values without explictly saying LRECL(1500) ?
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Thu Oct 14, 2010 7:19 pm
Reply with quote

Foolsbrain,

I did the following:
Clicked on IBM Manuals at top of page
Click on TSO/E Command reference
Clicked on the flashlight (search function)
Typed ALLOC and clicked search
Looked at my choices and clicked on number 3
Found my answer

All of this in less than one minute.

Give it a try.

I beg of everyone, do not answer, so the Foolsbrain will no longer be a fool.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Oct 14, 2010 7:57 pm
Reply with quote

Dave,

was that Type of Search:
  • Exact
  • Exact any case
  • Fuzzy

and How to Show Results:
  • List Topics by Importance
  • List Topics by Sequence

???
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Thu Oct 14, 2010 8:14 pm
Reply with quote

Type of Search:
FUZZY

List Topics by Importance

3. Example 4: Allocate a new data set with the attributes of an existing model data set, 1.7.7.4
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Oct 14, 2010 8:19 pm
Reply with quote

Sorry Dave,
i just could not resist, was in one of those moods.
Back to top
View user's profile Send private message
foolsbrain

New User


Joined: 15 Apr 2010
Posts: 11
Location: chennai

PostPosted: Thu Oct 14, 2010 8:23 pm
Reply with quote

hi daveporcelan, thanks for your help.
I got what i need icon_biggrin.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
Search our Forums:

Back to Top