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 change the record size in existing data set.

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

New User


Joined: 16 Feb 2006
Posts: 13

PostPosted: Wed Mar 22, 2006 3:17 pm    Post subject: how to change the record size in existing data set.
Reply with quote

pls anybody let me know how to change the record size in existing data set.

Title changed from "jcl" to "how to change the record size in existing data set." : Priyesh.
Back to top
View user's profile Send private message

Gautam512

Active User


Joined: 05 Oct 2005
Posts: 309
Location: Vizag / US

PostPosted: Wed Mar 22, 2006 3:38 pm    Post subject: Re: jcl
Reply with quote

Hi subbucse,

Small request for u, be more specific about the question in the Subject Line

u have raised a question in JCL forum, does ur question relates to JCL

if it is in the JCL , just change the LRECL of the Dataset.
Back to top
View user's profile Send private message
ARJUN

New User


Joined: 16 Nov 2004
Posts: 18
Location: Chennai

PostPosted: Wed Mar 22, 2006 3:39 pm    Post subject:
Reply with quote

Use IDCAMS ALTER Command
Back to top
View user's profile Send private message
subbucse

New User


Joined: 16 Feb 2006
Posts: 13

PostPosted: Wed Mar 22, 2006 5:07 pm    Post subject:
Reply with quote

how to change record size in existing dataset by using IDCAMS ALTER Command?

Can you give some examples?
Back to top
View user's profile Send private message
subbucse

New User


Joined: 16 Feb 2006
Posts: 13

PostPosted: Wed Mar 22, 2006 5:20 pm    Post subject: IDCAMS ALTER Command
Reply with quote

how to change record size in existing dataset by using IDCAMS ALTER Command?

Can you give some examples?
Back to top
View user's profile Send private message
ARJUN

New User


Joined: 16 Nov 2004
Posts: 18
Location: Chennai

PostPosted: Wed Mar 22, 2006 5:31 pm    Post subject:
Reply with quote

The alter object should be an AIX or CLUSTER or PATH and it should not have any records in it


Code:
  //ALTER JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
ALTER -
CLUS.ALTER.SAMPLE -
RECORDSIZE(80  120)
/*
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 Record Not found in AlX but record re... mukun264 COBOL Programming 5 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


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