how to modify the copy book?explain with examples

Answers were Sorted based on User's Feedback



how to modify the copy book?explain with examples..

Answer / vaneesh khurana

COPY XYZCBOOK REPLACING WS-COPYBOOK BY WS-NEW

Is This Answer Correct ?    3 Yes 0 No

how to modify the copy book?explain with examples..

Answer / harsha

The exact syntax is

COPY COPYBOOKNAME REPLACING
==......== BY ==......==.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?

1 Answers   IBM,


How do you designate a comment in JCL?

1 Answers  


I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K

3 Answers  


which utility is used a dummy utility?

0 Answers   IBM,


if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?

4 Answers  






How do you restart a step in JCL?

12 Answers   HSBC,


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

0 Answers  


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


how to eliminate the duplicates in sorting

4 Answers   Fidelity,


What is the difference between the positional and keyword parameters? Give examples.

0 Answers  


What is the function of job statement in jcl?

0 Answers  


Explain about CBL/PROCESS statement syntax

1 Answers  


Categories