how to concatenate datasets

Answer Posted / shankar

we can also concatenate through disp keyword parameter also..

use iebcopy utility and

sysut1 dd dsn=sample1.pds,disp=(old,pass)
sysut2 dd dsn=sample2.pds,disp=(shr)
sysin dd *
copy indd=sysut1 outdd=sysut2
/*

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the significance of addrspc parameter in the exec statement?

826


How do you overcome this limitation ?

893


List in order the hierarchical levels of jcl?

856


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

937


Are there any set of rules for the names of the steps used in a job? What are they?

800


i want to store 20 digits . how will u do it in cobol ?

1088


Can an individual step be restricted from using all the jobs allowed cpu time?

1247


Name the statement which can be used to send data to another mvs jes3 node?

812


when can a job time-out occur? How to overcome that?

959


When space is allocated for an output dataset, what units can be used?

978


Explain how can a stopped job be started again?

855


which utility is used to sort a file in jcl?

963


Which statement is used to identify the private libraries in job?

904


How to submit jcl through a cobol program?

881


What is the motivation behind coding class parameter in job statement?

883