Explain how can the attributes of one sms dataset be copied to another dataset?



Explain how can the attributes of one sms dataset be copied to another dataset?..

Answer / Abhishek Kumar Banswal

The COPY command in SMS (System Managed Storage) can be used to copy the attributes of one dataset to another. The syntax is: COPY FROM dataset1 TO dataset2.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

which utility is used to sort a file in jcl?

1 Answers   IBM,


What is the purpose of disp parameter?

1 Answers  


Explain how can an in-stream dataset be terminated?

1 Answers  


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1 Answers  


Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 Answers  


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1 Answers   IBM,


what are the options in file-aid to edit vsam dataset and to compare data sets.

2 Answers   Ocwen,


how can the same proc be re-used and called by many jobs?

1 Answers   IBM,


what is mainframe?

4 Answers   CGI,


wht do u mean by notify parameter, how can u give acess to multiple users ?

4 Answers   L&T,


Explain about LMINIT - generate a data ID for a data set

1 Answers  


1) max no of steps with jcl job can execute 2) how many extentions r possible in sequencial files with job 3) what is set parameter will do 4)how to get syntax errors without sub 5) what is differ between error and abend 6) hw mvs knows who submitted the job and whoom it has to forward 7) what are the positinal parameters of data descripter

1 Answers   L&T,


Categories