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

Changing the data that is present in 73 to 80 col


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 6966
Location: porcelain throne

PostPosted: Thu Nov 25, 2010 2:35 pm
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: 8797
Location: Welsh Wales

PostPosted: Thu Nov 25, 2010 2:37 pm
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: 6966
Location: porcelain throne

PostPosted: Thu Nov 25, 2010 3:00 pm
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: 8797
Location: Welsh Wales

PostPosted: Thu Nov 25, 2010 3:09 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Nov 25, 2010 3:50 pm
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
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

Senior Member


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

PostPosted: Fri Nov 26, 2010 9:55 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
This topic is locked: you cannot edit posts or make replies. Automation need help in sorting the data DFSORT/ICETOOL 38
Search our Forums:

Back to Top