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
 

 

A question on OVERRIDE.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Mukesh Pandey

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Mon Jan 25, 2010 3:53 pm    Post subject: A question on OVERRIDE.
Reply with quote

Hi All... ,

I need concept on below.

Job
EXEC prcA
STEP3.INFILE DD DSN = XYZ.JF1
....

prcA
..
..
STEP3 exec pgm=pgmA
infile DD DSN = XYZ.PF1

...

The above code overrides XYZ.PF1 file in proc by XYZ.JF1 file in job.


Now my proc has below concatenated DDs

prcA
..
..
STEP3 exec pgm=pgmA
infile DD DSN = XYZ.PF1
DD DSN =XYZ.PF2
DD DSN =XYZ.PF3

the requirement is i need to override only file XYZ.PF2 in proc through JOB.

Please let me know the concept on this.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 25, 2010 4:03 pm    Post subject:
Reply with quote

What do you think that you should do.
What have you tried so far to learn for yourself.
What were the results that have caused your concerns.
Back to top
View user's profile Send private message
Mukesh Pandey

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Mon Jan 25, 2010 4:16 pm    Post subject:
Reply with quote

expat..

as per my understanding below override in job should work. its too dificult to compile our own pgm in our project as it causes concern hence i did not try it but need to know for my own understanding

Job
EXEC prcA
STEP3.INFILE DD DSN = DUMMY
DD DSN = XYZ.JF2
DD DSN = DUMMY
....

Please correct me if i am wrong.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 25, 2010 5:21 pm    Post subject:
Reply with quote

To perform a simple test, you do not have to compile a program, pass go, or collect £200.

All you need is a simple instream PROC using IEBGENER with 3 simple input files, and then you can very easily test and verify the results of what you have coded.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8120
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jan 25, 2010 5:55 pm    Post subject:
Reply with quote

There is a manuals link on this page. Click it, find the JCL Language Reference manual, and read section 5.2.1.2 to find out how concatenated overrides work (hint: your code won't do what you think it will).
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm


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