How to rename a VSAM file as well as it's index file?
Answers were Sorted based on User's Feedback
Answer / sai
I think by using IDCAMS-ALTER command we can rename VSAM
dataset
| Is This Answer Correct ? | 26 Yes | 2 No |
Answer / santy
we can rename the VSAM file as well as it's INDEX file
using the ALTER command under IDCAMS utility.
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / mlaj
use this jcl below
//M052RPAR JOB ('comment',F7),'comment ',
// MSGLEVEL=(1,1),MSGCLASS=H,CLASS=A,REGION=0M,
// PRTY=15
//*******************************************************
//STEP10 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER M054.TEXT NEWNAME(M052.TEXT)
ALTER M054.TEXT.* NEWNAME(M052.TEXT.*)
/*
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / giri
Sai, using File Master tool we can rename the VSAM file.
Option 3.2 in File Master tool.
| Is This Answer Correct ? | 2 Yes | 5 No |
with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers?
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
what is the difference between perform varying and perform
what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..
What is model dataset label(Model DSCB)?
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
Is it possible to left uncode disp? If yes, how?
how do u send return code from cobol to jcl ?
What is default if we don't specify RD parameter at all ?
when does a dataset go uncataloged?
what is the control cards?
what is d/f b/w sysout & sysprint