You can use IEBUPDTE to create or modify sequential or partitioned data sets or PDSEs. However, the program can be used only with data sets containing fixed-length records of no more than 80 bytes. (It is used primarily for updating procedure, source, and macro libraries; those containing JCL, for example.)
IEBUPDTE can be used to:
1) Incorporate IBM or your source language modifications into sequential or partitioned data sets, or PDSEs
2) Create and update data set libraries
3) Modify existing sequential data sets or members of partitioned data sets or PDSEs
4) Change the organization of a data set from sequential to partitioned or PDSE, or the reverse. You can also use your own exit routines to process header and trailer labels.
Take a look at the following link for more details.
Code:
http://ranch.state.nd.us/pdf/pdf/dgt1u111.pdf
Due to the invention of ISPF PDF Editor, IEBUPDTE is rarely used nowadays
? IEBUPDTE is used to create or modify sequential or Partitioned Data Sets
? IEBUPDTE can be used to change the organization of a data set from sequential to partitioned or vice versa
? IEBUPDTE can be used only with the data sets containing fixed length records of no more than 80 bytes.
Inputs to IEBUPDTE
? IEBUPDTE uses two sources of input which are
? an input data set containing the source data to be modified
? Input Data set can be either Sequential or PDS
? a control data set containing the statements controlling IEBUPDTE's manipulation of the input data set
Outputs of IEBUPDTE
? IEBUPDTE creates two forms of output which are
? an output data set which is the result of the manipulations made to the input data set
? O/P Data Set can be seq or PDS
? It can be New (Created) or Old (Modified)
? a print data set containing a log of the modifications, error messages and control statements used in the job step
? Function statement
? Data statements
? ALIAS statement
? ENDUP statement
? Modifying statements
? Control statements are continued by placing a non blank character in column 72, and continuing the statement beginning in column 16 on the next statement
? All IEBUPDTE control statements (except data statements) begin with a "./" in columns 1 and 2.
Function statement
? The function statement is used to begin the IEBUPDTE operation
? At least one function statement is necessary for each member or data set being processed
? The function keywords should be preceded by and followed by at least one blank
? Valid functions are :
? ADD specifies that a new member or data set is to be created
? CHANGE specifies that an existing member or data set is to be updated
? REPL specifies that a member or data set is to be replaced in its entirety
? REPRO specifies that a member or data set is to be copied without modification to the output
dataset
? The detail statement is used in conjunction with a function statement to provide additional information
? Valid detail keywords are:
? NUMBER specifies a new sequence numbering scheme
? DELETE specifies the logical records that are to be removed from the member or data set
? The data statement is used to supply the logical records that are used as replacement statements or new data to be merged into the output data set
? When used with an ADD or REPL function, a data statement contains the new data to be placed in the output dataset
? When used with a CHANGE function, a data statement contains the new data or the data which replaces existing logical records in the input data set
? The data statement does not have a fixed syntax.
? Each logical record begins in column 1 and must contain sequence numbers
? The sequence numbers must be in the same relative position in the data statement as in the existing logical records
? The sequence numbers are assumed to be in columns 73 though 80 until otherwise specified in a SEQFLD parameter
Alias statement
? The ALIAS statement is used to create or to retain existing alias in an output data set directory
? Up to 16 aliases can be assigned to a single member
? This format of the ALIAS statement is as follows:
./{name} ALIAS NAME=cccccccc
where NAME=cccccccc specifies the name of an alias for this member
Endup Statement
? The ENDUP statement indicates the end of the utility control statements
? This format of the ENDUP statement is as follows:
./{label} ENDUP
Since you're a self admitted mainframe fresher, here's a fact you should know about "IEBUPDATE". It's really IEBUPDTE and it's pronounced "iebupditty'.