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

Change the weekly job to monthly job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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: 177
Location: Seattle, WA

PostPosted: Tue Dec 18, 2007 1:27 am
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

Moderator Emeritus


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

PostPosted: Tue Dec 18, 2007 2:13 am
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: 177
Location: Seattle, WA

PostPosted: Tue Dec 18, 2007 2:17 am
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
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

Moderator Emeritus


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

PostPosted: Tue Dec 18, 2007 2:37 am
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
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

Moderator Emeritus


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

PostPosted: Tue Dec 18, 2007 9:12 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts SELECT from data change table DB2 5
No new posts Trying to change copybook in online c... CICS 4
No new posts Change Default Scroll Setting TSO/ISPF 1
No new posts Change history of vsam file. JCL & VSAM 3
Search our Forums:

Back to Top