how to write a jcl prog to copy alternate recs from ps1 to
another ps2,suppose ps1 having 10 recs?

Answer Posted / mahesh

//step1 exec pgm=iebgener
//sysut1 dd dsn=fss149.mahesh.ps1,disp=(shr)
//sysut2 dd dsn=fss149.mahesh.ps2,disp=shr

Is This Answer Correct ?    2 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules employed while naming the steps in a job?

662


what sort card you will use to copy the data from one dataset to another dataset?

730


What do you understand by the term job time – out and how can you overcome that?

606


How can return codes be tested before execution of a job step?

925


How would you understand error(execution phase)?

630






What are some jcl statements that are not allowed in procedures?

728


How to override loadlib?

1428


How can the disposition of sysout datasets be set for an entire jobstream?

841


How dummy is used in jcl?

651


What are the 4 fields in dd statement?

744


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

605


how would you create a temporary dataset? And where will you use them?

768


how do you access an uncataloged dataset in a jcl?

841


how can you check if a file is empty using jcl?

816


How can a stopped job be started again?

714