can any one plzzzzzz tell the jcl code for creating ps
using idcams

Answer Posted / harsha

//STEP001 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//DD1 DD DSN=...,DISP=...,
// DCB=...,UNIT=...,SPACE=...
//SYSIN DD DUMMY

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if the submitter of a job wants to inform another user about the job completion, how can it be done?

744


what is use of disp parameter in dd statement?

652


when does a dataset go uncataloged?

824


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

7072


How does jcl act on a cobol code?

649






Explain the purpose of the dd keylen parameter?

663


How can the submitting users racf authority be overridden in a job stream?

738


What are the difference between jcl and jes?

1039


How jcl work to handle various input output file operations?

652


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

609


which parameter is use to declare the name of dataset in dd statement?

722


What is condition checking in jcl? Is this possible?

617


What is Cataloged Procedures?

706


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

922


Is there any command to check wether the ps file is in sorted order?

2421