Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us