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

ISPF : Shifting data in PS .


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nartcr

New User


Joined: 06 Jun 2007
Posts: 83
Location: anada

PostPosted: Thu Jul 31, 2008 5:57 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Jul 31, 2008 6:01 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Aug 01, 2008 12:41 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Aug 01, 2008 1:10 pm
Reply with quote

No, after applying the ISPF edit commands, his data has changed.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Aug 01, 2008 3:18 pm
Reply with quote

icon_biggrin.gif ..Right..I was trying to sarcastic but you bowled me out.. icon_smile.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Aug 01, 2008 3:31 pm
Reply with quote

sorry Anuj,

as already mentioned in other threads, I seem to suffer from thin skin.

dbz
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Aug 01, 2008 3:37 pm
Reply with quote

Anuj D. wrote:
icon_biggrin.gif ..Right..I was trying to sarcastic but you bowled me out.. icon_smile.gif

Oh well, better luck next time icon_biggrin.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Aug 01, 2008 3:48 pm
Reply with quote

Hi Dick,

Quote:
sorry Anuj,
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.. icon_smile.gif.

You are other good companion to be with..


PS.: * I just don't understand what is this..
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 01, 2008 10:07 pm
Reply with quote

Hi Anuj,

Quote:
*very-thin skin..

Easily offended or perturbed. . . icon_wink.gif

d
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Aug 01, 2008 10:27 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sat Aug 02, 2008 12:45 pm
Reply with quote

dick scherrer wrote:
Easily offended or perturbed. . . icon_wink.gif
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.. icon_neutral.gif ...uaaaa... icon_cry.gif
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 2
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top