Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Dynamic file assignment thru JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Dynamic file assignment thru JCL
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: 464

PostPosted: Tue Sep 13, 2005 10:12 am    Post subject: Re: Dynamic file assignment thru JCL
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    Post subject: Re: Dynamic file assignment thru JCL
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    Post subject:
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    Post subject: Re: Dynamic file assignment thru JCL
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us