View previous topic :: View next topic
|
Author |
Message |
ipavan
New User
Joined: 12 Jun 2005 Posts: 28 Location: Hyderabad
|
|
|
|
1. Can we make dynamic file assignment , instead of static assignment through jcl( ddname) for a cobol program. If so How.
2. I have 10 million records, i record is having bad data. I have retrieved
these 10 million records into my test environment and deleted that bad data record. now is it possible for the job running in the production environment take input data from the test environment. I want to know whether we can override data of production environment with data of test environment(in this case 10million records-1).
3. What are the common production support abends in a (Cobol,Db2,VSAM,JCL) environment. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi,
Quote: |
2. I have 10 million records, i record is having bad data. I have retrieved
these 10 million records into my test environment and deleted that bad data record. now is it possible for the job running in the production environment take input data from the test environment. I want to know whether we can override data of production environment with data of test environment(in this case 10million records-1). |
Yes, You can refer the Test environment for that you have to make changes in your JCL . Like if you are using VSAM and daatset then you have to give Test name instead of Prod name.
Quote: |
3. What are the common production support abends in a (Cobol,Db2,VSAM,JCL) environment |
JCL ERROR
S0C abends are also very comman....Due to Data Exception Problem.....
Eg: S0C7, S0C1, S0C4 etc...
Space Abends....SE37, SB37 etc...
SOCA - Decimal point overflow
SOCb - Divide by zero
706 - Load module found but it is not executable
S322 The system took a longer time to run a job
S522 - Cancelled Job.
Hope this helps you.
Regards
Rupesh |
|
Back to top |
|
|
ipavan
New User
Joined: 12 Jun 2005 Posts: 28 Location: Hyderabad
|
|
|
|
Thanks Rupesh.,
Can anyone help me with my first question |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
Quote: |
1. Can we make dynamic file assignment , instead of static assignment through jcl( ddname) for a cobol program. If so How. |
Yes you can using a Proc(instream or catalogued) but as you know, all the file must have the same definition to be sure that your Cobol program run well.
I hope in this suggest. |
|
Back to top |
|
|
itssreehere Warnings : 1 New User
Joined: 10 Jan 2006 Posts: 65 Location: chennai
|
|
|
|
#2)
Is this a real time scenario you faced??
You are refering to a file or Db2 table or some other DB?
You may be able to point production job to test data by changing file name.
In case of Db2 even that's not sure. Because your production data will be linked to a different DB2 subsyatem. not to the test one.
Moreover retrieving these much records from production and reloading is not a practical scenario, especially in an online environment. |
|
Back to top |
|
|
|