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
 
Changing the data that is present in 73 to 80 col

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
shchan

New User


Joined: 06 Jun 2007
Posts: 58
Location: Hyderabad

PostPosted: Thu Nov 25, 2010 2:14 pm    Post subject: Changing the data that is present in 73 to 80 col
Reply with quote

hi ,
My requirement is to change the columns from 73 to 80 in a cobol pgm to spaces.
can any body tell me the ISREDIT command to change the tags that are present in 73 to 80 columns.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Nov 25, 2010 2:35 pm    Post subject:
Reply with quote

you have to insure that you have a profile which provides bounds to column 80.
num off is an example.

then the edit primary command is: chg all P'=' ' ' 73 80.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Nov 25, 2010 2:37 pm    Post subject:
Reply with quote

UNNUMB usually works for me
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6968
Location: porcelain throne

PostPosted: Thu Nov 25, 2010 3:00 pm    Post subject:
Reply with quote

UNNUMB also affects cols 1-6
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Nov 25, 2010 3:09 pm    Post subject:
Reply with quote

True, but that hasn't been mentioned as a restriction by the OP icon_biggrin.gif
Back to top
View user's profile Send private message
bhagyac

New User


Joined: 17 Apr 2008
Posts: 44
Location: bangalore

PostPosted: Thu Nov 25, 2010 3:40 pm    Post subject:
Reply with quote

you can try to copy the file to a new dataset with 72 as lrecl,
empty the contents in your orginal file and then copy back from the copied file.

Not sure if this will work. icon_wink.gif icon_neutral.gif

anyway u can give a try!!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Nov 25, 2010 3:50 pm    Post subject:
Reply with quote

bhagyac wrote:
Not sure if this will work.
anyway u can give a try!!
The whole idea is that YOU know what you are spouting on about before posting.
Why don't YOU try it and then post, rather than wasting other peoples time trying out things that just happen to cross your mind icon_evil.gif
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Fri Nov 26, 2010 12:12 am    Post subject:
Reply with quote

dbzTHEdinosauer wrote:
UNNUMB also affects cols 1-6

This statement is not exactly true, since it doesn't always apply.
UNNUMB only spaces out sequence numbers that are in effect as specified by the NUMBER mode (OFF, STD, COB, or Both STD and COB).
If OFF, UNNUMB will be rejected with an error msg "Not in number mode"
If STD (but not COB), the columns that will be affected depend on the record format: only the last 8 columns will be affected for fixed-length files, only columns 1-8 will be affected for variable-length files
If COB (but not STD), only columns 1-6 will be affected
If Both (COB and STD) both STD and COB sequence columns will be affected (see above).
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 965
Location: Richmond, Virginia

PostPosted: Fri Nov 26, 2010 9:55 am    Post subject:
Reply with quote

Hey - don't screw with cols 1-6. You might drop your pds member on the floor.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

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