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
 

 

REWRITE LOGIC in my program for reading and writing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
ajayjindal21
Warnings : 1

New User


Joined: 20 Jul 2007
Posts: 24
Location: Bangalore

PostPosted: Mon Sep 10, 2007 3:36 pm    Post subject: REWRITE LOGIC in my program for reading and writing
Reply with quote

Hi,

I am using REWRITE LOGIC in my program for reading and writing on same file. Please let me know the JCL step how to call this file in jcl.

Thanks...
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Sep 10, 2007 3:46 pm    Post subject: Re: Rewrite Logic!!
Reply with quote

ajayjindal21 wrote:
I am using REWRITE LOGIC in my program for reading and writing on same file. Please let me know the JCL step how to call this file in jcl.
The JCL should look the same as it does for just reading.......
Back to top
View user's profile Send private message
ajayjindal21
Warnings : 1

New User


Joined: 20 Jul 2007
Posts: 24
Location: Bangalore

PostPosted: Mon Sep 10, 2007 3:50 pm    Post subject:
Reply with quote

I tried but I am getting ABEND!!
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 685
Location: Earth

PostPosted: Mon Sep 10, 2007 3:53 pm    Post subject:
Reply with quote

What ABEND? Unless you give us all the information you have we may not be able to do more than guessing about your problem...
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Mon Sep 10, 2007 3:54 pm    Post subject:
Reply with quote

ajayjindal21 wrote:
I tried but I am getting ABEND!!
Well, why didn't you mention that at first and post the sysout of the ABEND!! icon_rolleyes.gif
Back to top
View user's profile Send private message
ajayjindal21
Warnings : 1

New User


Joined: 20 Jul 2007
Posts: 24
Location: Bangalore

PostPosted: Tue Sep 11, 2007 9:25 am    Post subject: Thanks....
Reply with quote

Problem is resolved!!!

Thanks guys,
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 685
Location: Earth

PostPosted: Tue Sep 11, 2007 11:14 am    Post subject:
Reply with quote

What did you do to resolve your problem? If you post that information it will be useful for someone facing the same problem in future.
Back to top
View user's profile Send private message
logeswarank
Warnings : 1

New User


Joined: 15 Oct 2006
Posts: 22
Location: Chennai

PostPosted: Mon Sep 17, 2007 5:21 pm    Post subject: rewrite the same file
Reply with quote

Hi,

If u want to rewrite the same u have give the same file in input and outpu ddnames.In input u need to mention the DISP=OLD,then output also u need to mention DISP=OLD.You should change like this.

If its wrong correct me.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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