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: 686
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: 686
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 IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts Need help in reading and validating a... ABINAYATHULASI COBOL Programming 8 Tue Apr 18, 2017 11:42 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am


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