Answer Posted / amy
of course we can do it by IDCAMS utility...
//step1 exec pgm=idcams
//sysin dd *
alter gdg-name parameter,parameter
/*
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How does the jcl specify the job to os?
define cond parameter in jcl?
Why include statement is used in a jcl?
What are some jcl statements that are not allowed in procedures?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
what operation is performed by job statement?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What do you know about jcl?
How can an in-stream dataset be terminated?
Does jcl support automatic restart?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Differentiate between addressing mode and run mode.
Explain dd statement in jcl?
when does a dataset go uncataloged?