I understood that. But then if I don't ask the question right way, how should I ask such a question?
Search found 4 matches
- Mon Sep 12, 2016 2:48 pm
- Forum: JCL - Job Control Language.
- Topic: Rename a dataset name in JCL?
- Replies: 5
- Views: 15733
- Mon Sep 12, 2016 2:44 pm
- Forum: Interview Questions.
- Topic: Value of the varaible depending on static or dynamic call in COBOL.
- Replies: 2
- Views: 1521
Value of the varaible depending on static or dynamic call in COBOL.
Hi,
Program-A CALLs another Program-B statically. Program-B has variable B1 defined as
B1=0
B1=B1+1
After 4th CALL what is the value of the B1?
If the Program-B was CALLed dynemically, what will be the value of B1?
I said, it will be 4 in both the cases. But I was told I am wrong. Interviewer ...
Program-A CALLs another Program-B statically. Program-B has variable B1 defined as
B1=0
B1=B1+1
After 4th CALL what is the value of the B1?
If the Program-B was CALLed dynemically, what will be the value of B1?
I said, it will be 4 in both the cases. But I was told I am wrong. Interviewer ...
- Tue Feb 09, 2016 2:24 pm
- Forum: JCL - Job Control Language.
- Topic: Rename a dataset name in JCL?
- Replies: 5
- Views: 15733
Re: Rename a dataset name in JCL?
HI,
I have used the following JCL
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER my.file -
NEWNAME(my.new.file)
I have used the following JCL
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER my.file -
NEWNAME(my.new.file)
- Thu Oct 15, 2015 5:27 pm
- Forum: JCL - Job Control Language.
- Topic: Rename a dataset name in JCL?
- Replies: 5
- Views: 15733
Rename a dataset name in JCL?
Is there a possibility to rename a dataset name in JCL itself? Can you please suggest a sample code.