Search found 4 matches

by TetraTop
Mon Sep 12, 2016 2:48 pm
Forum: JCL - Job Control Language.
Topic: Rename a dataset name in JCL?
Replies: 5
Views: 15733

Re: Rename a dataset name in JCL?

nicc wrote:
I have used the following JCL
You have obviously not read AND understood Robert's reply. What follows your //SYSIN DD * is not JCL but IDCAMS control cards.
I understood that. But then if I don't ask the question right way, how should I ask such a question?
by TetraTop
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 ...
by TetraTop
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)
by TetraTop
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.

Go to advanced search