View previous topic :: View next topic
|
Author |
Message |
nartcr
New User
Joined: 06 Jun 2007 Posts: 83 Location: anada
|
|
|
|
Hi all,
I am just curious to know how to do this with ISPF command.
At present i am opening a PS dataset in view mode and i want to try out this.
I/P file contains 3 records.
Column 1-5 - Key value
Column 6-26- Name value
Column 27-72 - Space
O/P file contains 3 records.
Column 1-5 - Key value
Now i want to shift the value from Col 6-26 in i/p file by 3 spaces so that,
Column 9-29 - Name value
Column 30-72 - Space
Let me know if this can be done through TSO/ISPF. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
the shifting yes. look at bounds (both primary command and line command) and shift-data (line command).
PF1
when you say o/p file, you are talking greek. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
dbzTHEdinosauer wrote: |
when you say o/p file, you are talking greek. |
Perhaps, after applying the ISPF edit-commands, the outcome is output for OP.. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
No, after applying the ISPF edit commands, his data has changed. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
..Right..I was trying to sarcastic but you bowled me out.. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
sorry Anuj,
as already mentioned in other threads, I seem to suffer from thin skin.
dbz |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Anuj D. wrote: |
..Right..I was trying to sarcastic but you bowled me out.. |
Oh well, better luck next time |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi Dick,
Not at all needed...with the experience & exposure You've..I would always be happy to keep you associated with me (probably us)..even with *very-thin skin.. .
You are other good companion to be with..
PS.: * I just don't understand what is this.. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Anuj,
Easily offended or perturbed. . .
d |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
I agree with Dick.
This is a technical forum. The questions and answers should be described well and in proper English.
1. the poster wanted to use VIEW mode. You do not normally describe it as an input file and a different output file. It is a single file that has changed.
2. actually, VIEW mode does not save the changes anyway, thus no output file. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
dick scherrer wrote: |
Easily offended or perturbed. . . |
Aha..now this is my most Gentle guy on the board, I really need to learn how to get annoyed & show sarcasm..and how to convey the feeling to say..that yes I know the meaning but don't want to know in this context.. ...uaaaa... |
|
Back to top |
|
|
|