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
 

 

How to allocate a file using DCB values of another file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: How to allocate a file using DCB values of another file
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: 662
Location: Pennsylvania

PostPosted: Thu Oct 14, 2010 7:19 pm    Post subject:
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: 6967
Location: porcelain throne

PostPosted: Thu Oct 14, 2010 7:57 pm    Post subject:
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: 662
Location: Pennsylvania

PostPosted: Thu Oct 14, 2010 8:14 pm    Post subject:
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: 6967
Location: porcelain throne

PostPosted: Thu Oct 14, 2010 8:19 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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