Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

ISPF : Shifting data in PS .

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
nartcr

New User


Joined: 06 Jun 2007
Posts: 78
Location: anada

PostPosted: Thu Jul 31, 2008 5:57 pm    Post subject: ISPF : Shifting data in PS .
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: 6968
Location: porcelain throne

PostPosted: Thu Jul 31, 2008 6:01 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Aug 01, 2008 12:41 pm    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Fri Aug 01, 2008 1:10 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Aug 01, 2008 3:18 pm    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Fri Aug 01, 2008 3:31 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Fri Aug 01, 2008 3:37 pm    Post subject:
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

Senior Member


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

PostPosted: Fri Aug 01, 2008 3:48 pm    Post subject:
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

Site Director


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

PostPosted: Fri Aug 01, 2008 10:07 pm    Post subject: Reply to: ISPF : Shifting data in PS .
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

Senior Member


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

PostPosted: Fri Aug 01, 2008 10:27 pm    Post subject: Reply to: ISPF : Shifting data in PS .
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

Senior Member


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

PostPosted: Sat Aug 02, 2008 12:45 pm    Post subject: Re: Reply to: ISPF : Shifting data in PS .
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us