How to copy VSAM files without using REPRO
Answers were Sorted based on User's Feedback
Answer / gourav bibhor
//jobcard
//STEP1 DD EXEC PGM=IDCAMS
//SYSIN DD *
REPRO IDS(FILENAMEOFSORCE)-
ODS(FILENAMEOFDESTINATION)
/*
//SYSOUT DD DSN=*
//SYSPRINT DD DSN=*
| Is This Answer Correct ? | 3 Yes | 2 No |
What is difference between Return Code, user completion code, Abend code and reason Code?
How do you send the output of a COBOL program to a member of a PDS?
Must tape dataset definitions include vol=ser specifications?
How is the record format of an output dataset specified?
Explain how can the attributes of one sms dataset be copied to another dataset?
Can comments be specified at the very beginning of a jobcard? Will the JCL execute?
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?
in jcl you are having JCLLIB and STEPLIB what happens
What is jcl in mainframe?
What does a disposition of (new,catlg,keep) for a dsn mean?