IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to change the record size in existing data set.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 308
Location: Vizag / US

PostPosted: Wed Mar 22, 2006 3:38 pm
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
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
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
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
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts To Discard record with 0 entry if Dup... SYNCSORT 7
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top