adspace


Discuss about changing dataset name in proc.

Answer Posted / Jay Devi

In COBOL, you can change the dataset name within a program using the ALTER DATA SET SELECT statement. This statement allows you to specify a new dataset name for an open sequential or indexed file during runtime. Here is an example:

ALTER DATA SET SELECT NEW-DATASET-NAME ASSIGNING TO OLD-DATASET-NAME.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i need a small 3d program using inline and outline.

2311


Are you comfortable in cobol or jcl?

1116