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

REWRITE LOGIC in my program for reading and writing


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 2146
Location: At my coffee table

PostPosted: Mon Sep 10, 2007 3:46 pm
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
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: 691
Location: Earth

PostPosted: Mon Sep 10, 2007 3:53 pm
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: 2146
Location: At my coffee table

PostPosted: Mon Sep 10, 2007 3:54 pm
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
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: 691
Location: Earth

PostPosted: Tue Sep 11, 2007 11:14 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top