IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Dynamic file assignment thru JCL


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ipavan

New User


Joined: 12 Jun 2005
Posts: 28
Location: Hyderabad

PostPosted: Mon Sep 12, 2005 10:11 pm
Reply with quote

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
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Tue Sep 13, 2005 10:12 am
Reply with quote

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
View user's profile Send private message
ipavan

New User


Joined: 12 Jun 2005
Posts: 28
Location: Hyderabad

PostPosted: Tue Sep 13, 2005 12:06 pm
Reply with quote

Thanks Rupesh.,

Can anyone help me with my first question
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue Sep 13, 2005 3:08 pm
Reply with quote

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
View user's profile Send private message
itssreehere
Warnings : 1

New User


Joined: 10 Jan 2006
Posts: 65
Location: chennai

PostPosted: Tue Jan 10, 2006 5:37 pm
Reply with quote

#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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top