View previous topic :: View next topic
|
Author |
Message |
shakti
New User
Joined: 20 Jan 2004 Posts: 42
|
|
|
|
Hi Guys,
I need to know the line command to shift the value in the middle of the sequential file. For example
Row 1: AAAAAAAA12345( Bfore change)
Row 1: AAAAAAAA 12345(After change)
In after change row i want 5 pos to be shifted to right.
Any help in this regard would be highly appreciated.
Thanks
Shakti |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
)) and >> are both line commands to shift column/data
in combination with the bounds command, you can manipulate subsets of your data.
Edit and Edit Macros, SC34-4820-05
in the future, please use code/code tags to post examples; it makes for easier reading. |
|
Back to top |
|
|
sri_mf
Active User
Joined: 31 Aug 2006 Posts: 218 Location: India
|
|
|
|
[quote="dbzTHEdinosauer"Edit and Edit Macros, SC34-4820-05
.[/quote]
can u throw some light on these edit macros ..n how to use them |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
use the BNDS command to delimit the columns to be acted upon |
|
Back to top |
|
|
shakti
New User
Joined: 20 Jan 2004 Posts: 42
|
|
|
|
Hi enrico,
Could you please give one practical example to understand more clearly.
Thanks
Shakti |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Code: |
=BNDS> < >
000001 //IBMUSERA JOB (ACCT#),'AA',NOTIFY=IBMUSER,
|
only the columns between th boundaries will be modified bay edit commands
shift/find/change
to reset issue the command "bnds" without any operand ant it will reset the bounds
PF1/PF13 is ISPF user' s best friend |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Shakti,
is there a chance that you would RTFM?
Edit and Edit Macros, SC34-4820-05, ISPZEM50
This manual is pretty good, has examples and explanations.
and it is just too much work to 'code' an example here. |
|
Back to top |
|
|
sri_mf
Active User
Joined: 31 Aug 2006 Posts: 218 Location: India
|
|
|
|
Really a gud commad "BNDS"
Thank u enrico..
Dick i have no idea on edit amcros can u provide some info |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
sri_mf wrote: |
Dick i have no idea on edit amcros can u provide some info |
Did you not read Dick's post immediately before your own ??? |
|
Back to top |
|
|
|