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
 

 

Change the weekly job to monthly job

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

New User


Joined: 15 Jun 2007
Posts: 92
Location: bangalore

PostPosted: Sat Dec 15, 2007 12:13 pm    Post subject: Change the weekly job to monthly job
Reply with quote

My requirement is to change the weekly job to monthly job i.e
my previous job returning the weekly report now I want to change that job in such a way that I generate the monthly report. That one query I need to change. That one I have done, but it also has one GDG in it. I don't know whether I have to change that GDG or no need to change that.
Back to top
View user's profile Send private message

raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Sat Dec 15, 2007 5:33 pm    Post subject:
Reply with quote

can u please try to put ur queries listed properly??

Is it that

- U r changing one weekly job to a monthly job
- U had to make some changes in the SQL query and U made it already
- U are using some GDG as output file

and finally
- U wanna know whether u have to change the GDG since u r creating a monthly report instead of a weekly one icon_surprised.gif icon_surprised.gif icon_surprised.gif

If this is ur question, U have to decide on whether u need to change it or not..Basically if it is an output file, u can simply use the same GDG base to create new generations under it..
I dont think u wil have any problem in that....

And if ur question is something else, please post that clearly...
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Tue Dec 18, 2007 1:27 am    Post subject: Reply to: Change the weekly job to monthly job
Reply with quote

Wrong forum, dude. This belongs in the JCL forum. Try reading before posting.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 18, 2007 2:13 am    Post subject: Reply to: Change the weekly job to monthly job
Reply with quote

Well, it does mention a query. . . . icon_confused.gif

As raak has mentioned, the question(s) from TS need(s) clarification.

If TS provides more info, we may be able to help with a suggestion or move this topic to a better place.

We'll see . . .

d
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Tue Dec 18, 2007 2:17 am    Post subject: Reply to: Change the weekly job to monthly job
Reply with quote

Aye, you're right, Dick. It was the GDG reference that made me think that it was strictly a JCL issue.

My apologies! icon_redface.gif
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Dec 18, 2007 2:22 am    Post subject:
Reply with quote

Depending on your sites dataset naming conventions (there are naming conventions aren't there) you may have to change your output file name.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 18, 2007 2:37 am    Post subject: Reply to: Change the weekly job to monthly job
Reply with quote

Quote:
My apologies!
Surely not needed icon_smile.gif

The initial post is somewhat unclear and it may actually belong "over in JCL".

Once again, one of my feeble attempts at humor went awry. . . icon_wink.gif

d
Back to top
View user's profile Send private message
chandracdac

New User


Joined: 15 Jun 2007
Posts: 92
Location: bangalore

PostPosted: Tue Dec 18, 2007 5:08 pm    Post subject: Reply to: Change the weekly job to monthly job
Reply with quote

Sorry for posting this one in this forum , Actually i am not sure whether i have to post this one here or in that jcl forum


my query is using gdg as output file,i.e it has to generate the report for the month and send it to that gdg..


Thanx
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 18, 2007 9:12 pm    Post subject:
Reply with quote

Hello,

Quote:
Sorry for posting this one in this forum
Not to worry icon_smile.gif Topics can be moved as needed.

Quote:
my query is using gdg as output file,i.e it has to generate the report for the month and send it to that gdg..

If the reqirement is to write the "report" to a new generation of a gdg, you could use
Code:

//MYREPORT DD DSN=the.gdg(+1),DISP=(,CATLG,DELETE),etc
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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts Change date (DD/MM/YY) in 2nd record ... uday kiran DFSORT/ICETOOL 12 Wed Sep 07, 2016 10:57 pm
No new posts How to change dataset attributes of m... ignich7 JCL & VSAM 3 Thu Jul 21, 2016 9:17 pm
No new posts GDG vsersion number change Raghu navaikulam JCL & VSAM 5 Fri May 27, 2016 4:49 pm
No new posts Change Data Capture Ron Klop DFSORT/ICETOOL 14 Fri Apr 15, 2016 2:56 pm


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