Discuss about changing dataset name in proc.
Answer / 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 |
What is the use of LINKAGE SECTION?
i have a sequencial file contains multiple records, i want to extract one row which contains various fields like order number,date,warehouse,.ect.. in to the another file by accepting the order number from jcl. how can i do it. pls help me..
01 a pic s9(5) occupies how many bytes ?
is it possible to pass an SQL query inside a jcl which is inside a cobol program?
How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.
I have a occurs for 100 times but it has executed 101 time what could be the reason?
. How do we cast a variable in COBOL
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how to refer the data field?
What is the use of intialize verb?
In an array processing what is the thing that can be done by using subscripts but not by using index
can we use variable picture clause as xx.99 in cobol.