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: 6966
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: 6966
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


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