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: 646
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: 646
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 Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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