What is MOD and when would you use it?

Answer Posted / shridhar

1. For appending.
2. using same dataset in input and output and making some
changes in that. Use mod for input.
3. When not sure dataset is created or not.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we call instream to catalog and catalog to instream?

894


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

784


How is the record format of an output dataset specified?

985


What are the 2 types of parameters in dd statement?

884


What are the parameter we cannot use in procedure?

826


Explain the purpose of dd * statement in jcl?

822


What are steplib and joblib?

907


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

925


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

1128


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2096


Name the parameters which can be used to limit the number of records written to a sysout dataset?

886


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2436


Is automatic restart possible in jcl?

948


What is the significance of addrspc parameter in the exec statement?

836


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1100