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

FILEMASTER QUERYY


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

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Mon Apr 27, 2009 3:51 pm
Reply with quote

Hi

I need to edit an dataset,below is the scenario.

1) Dataset is having a number of data...each row of dataset starts with '{' and ends with '}'

Now my requirement is to change the ending from '}' to
} + new line (X'0D25') + $

how can i achieve it...how can i do it with change command.

I tried with below command but it is giving me error.

C X'60D0' X'60D00D255B' ALL

that is

change '{' to } + new line (X'0D25') + $ all
Back to top
View user's profile Send private message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Mon Apr 27, 2009 3:54 pm
Reply with quote

beruoist wrote:
Hi

I need to edit an dataset,below is the scenario.

1) Dataset is having a number of data...each row of dataset starts with '{' and ends with '-}'

Now my requirement is to change the ending from '-}' to
-} + new line (X'0D25') + $

how can i achieve it...how can i do it with change command.

I tried with below command but it is giving me error.

C X'60D0' X'60D00D255B' ALL

that is

change '-}' to } + new line (X'0D25') + $ all



SORRY TYPO CORRECTION

beruoist wrote:
Hi

I need to edit an dataset,below is the scenario.

1) Dataset is having a number of data...each row of dataset starts with '{' and ends with '-}'

Now my requirement is to change the ending from '-}' to
-} + new line (X'0D25') + $

how can i achieve it...how can i do it with change command.

I tried with below command but it is giving me error.

C X'60D0' X'60D00D255B' ALL

that is

change '-}' to } + new line (X'0D25') + $ all
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Apr 27, 2009 4:02 pm
Reply with quote

Quote:
... but it is giving me error.

how sad icon_sad.gif

You have two friends ...
PF1
and the manual

ask them and You might get better answers

...did something ...got an error
is probably the worst way to ask
you must give people something to work on, You didn' t
Back to top
View user's profile Send private message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Mon Apr 27, 2009 4:15 pm
Reply with quote

enrico-sorichetti wrote:
Quote:
... but it is giving me error.

how sad icon_sad.gif

You have two friends ...
PF1
and the manual

ask them and You might get better answers

...did something ...got an error
is probably the worst way to ask
you must give people something to work on, You didn' t


i checked it with the help option only..

the way i am using it is the correct but still it is giving error...That is why i posted the query.

C X'60D0' X'60D00D255B' ALL

Please tell me what is missing here
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Apr 27, 2009 4:16 pm
Reply with quote

I think that Enrico was asking for more detail on the error that is occurring.

You have explained that it does not work, but that is it. Not sure when psychic day is this week, but until then we have no information available other than what you tell us.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Apr 27, 2009 4:23 pm
Reply with quote

You still did not understand my reply?

I did something I got an error will not take You/us anywhere

Quote:
... the way i am using it is the correct but still it is giving error...

I would trust the program, more than Your judgement icon_biggrin.gif

any decent ISPF based application logic flow for a command is...
( that's the way ISPF itself behaves )
after any action display in the upper right corner a short message
stating that "an error occurred"/the program was not able to do the action requested"/"the requested action completed succesfully"

hitting/stoking/pressing PF1 should display a message box or a two lines
message with a message identifier and a long text more explicative

with the message identifier look at the manual for a still longer description
and usually the action to take or what not do in order to override the issue

again with the scrce info provided the only replies You will get
will be of the tone of my first reply

help people willing to help you
Back to top
View user's profile Send private message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Mon Apr 27, 2009 4:31 pm
Reply with quote

enrico-sorichetti wrote:
You still did not understand my reply?

I did something I got an error ill not take You/us anywhere

Quote:
... the way i am using it is the correct but still it is giving error...

I would rather trust the program, rather than Your judgement icon_biggrin.gif

any decent ISPF based application logic flow is...

after an erroneous action display in the upper right corner e short message
stating that You got an error/the program was not able to do the action requested

hitting/stoking/pressing PF1 should display a message box or a two lines
message with a message identifier and a long text more explicative

with the message identifier look at the manual for a still longer description
and usually the action to take or what not do in order to override the issue

again with the scrce info provided the only replies You will get
will be of the tone of my first reply

help people willing to help you


Yes correct the error is coming because there are too many records in the FILE..the error says

Code:
CHARS X'60D0' could not be changed to X'60D00D255B' 24634 times.


I will better write an Natural program to do this.It will be easier for me.Thanks guys for ur time.

Cheers
Beruoist
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 File browse in Filemaster using macro Compuware & Other Tools 1
No new posts CA Filemaster connection thru REXX CA Products 5
No new posts Layout Error with copybooks in Filema... Compuware & Other Tools 1
No new posts REXX to use FILEMASTER LAYOUT view op... CA Products 3
Search our Forums:

Back to Top