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
 

 

new flat file with input specs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Fri Jun 15, 2012 11:28 pm    Post subject: new flat file with input specs
Reply with quote

Hi,
I want to copy a flat file from another file without creating space and other parameters for new file.The new file should take old file's disp,space and paramets.

any idea please help
Back to top
View user's profile Send private message

Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Fri Jun 15, 2012 11:34 pm    Post subject:
Reply with quote

Read about LIKE in the fine manual.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Fri Jun 15, 2012 11:35 pm    Post subject: Re: new flat file with input specs
Reply with quote

maverick05 wrote:
Hi,
I want to copy a flat file from another file without creating space and other parameters for new file.The new file should take old file's disp,space and paramets.

any idea please help


DISP is not an attribute of a file, it is a JCL parameter.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Fri Jun 15, 2012 11:47 pm    Post subject: Reply to: new flat file with input specs
Reply with quote

from Your profile
Quote:
Mainframe Skills: Chess,magazines


if You are the white do Your chess games always go like ...
1.f3 e5 2.g4 Qh4# icon_cool.gif

instead of reading magazines it would be wiser to read and meditate on the JCL guide and the JCL reference manuals icon_evil.gif

this is professional forum, posting BS will lower the chances of getting any help!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7914
Location: Bellevue, IA

PostPosted: Fri Jun 15, 2012 11:55 pm    Post subject:
Reply with quote

Is the old data set under SMS? Will the new data set be under SMS?

We can help you, but you have to make at least SOME effort and answer some basic questions before you can be helped.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jun 16, 2012 12:58 am    Post subject:
Reply with quote

Hello,

Probably not what you want, but you could backup the file (say using DFDSS) and restore it to a new dataset name. . .
Back to top
View user's profile Send private message
maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Sat Jun 16, 2012 1:43 am    Post subject: Reply to: new flat file with input specs
Reply with quote

yes both are SMS based.
Thanks all. The LIKE keyword worked.

I had forgot the LIKE keyword but couldn't find it in my google
search.may be I didn't tell google properly what I wanted
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Sat Jun 16, 2012 2:06 am    Post subject:
Reply with quote

or,
surprise, surprise !!!!
the manual that describes the utility that you are using.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 24 Tue Dec 06, 2016 8:04 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 8 Thu Dec 01, 2016 8:28 pm
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