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
 

 

FILEMASTER QUERYY

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: FILEMASTER QUERYY
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    Post subject: Re: FILEMASTER QUERYY
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Mon Apr 27, 2009 4:02 pm    Post subject: Reply to: FILEMASTER QUERYY
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    Post subject: Re: Reply to: FILEMASTER QUERYY
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: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 27, 2009 4:16 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Mon Apr 27, 2009 4:23 pm    Post subject: Reply to: FILEMASTER QUERYY
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    Post subject: Re: Reply to: FILEMASTER QUERYY
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    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 File browse in Filemaster using macro maheshk84 Compuware & Other Tools 1 Thu Nov 03, 2011 8:22 pm
No new posts CA Filemaster connection thru REXX tecnokrat CA Products 5 Wed Nov 24, 2010 9:11 am
No new posts Layout Error with copybooks in Filema... CICS Guy Compuware & Other Tools 1 Tue Mar 02, 2010 11:01 pm
No new posts REXX to use FILEMASTER LAYOUT view op... pravinj CA Products 3 Wed Sep 30, 2009 11:04 pm


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