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
 
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: 688
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: 6970
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: 688
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: 6970
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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am

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