Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Problem with ISREDIT CHANGE and Column

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

New User


Joined: 22 Nov 2007
Posts: 55
Location: Germany

PostPosted: Wed Apr 08, 2015 8:39 pm    Post subject: Problem with ISREDIT CHANGE and Column
Reply with quote

Hi Folks,

I've a problem with ISREDIT CHANGE and a start column :

Code:
"CHANGE '"StrOld"' '"StrNew"' 1 ALL"
works

Code:
col = 1

"CHANGE '"StrOld"' '"StrNew"' "col" ALL"
doesn't work

Do you have any ideas what is wrong ?

Thanks in advance icon_smile.gif
Back to top
View user's profile Send private message

Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2020
Location: UK

PostPosted: Wed Apr 08, 2015 9:20 pm    Post subject:
Reply with quote

Best guess is the quotes around col in your command.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10478
Location: italy

PostPosted: Wed Apr 08, 2015 9:50 pm    Post subject: Reply to: Problem with ISREDIT CHANGE and Column
Reply with quote

telling does not work is not really enough for the problem determination

JUST TESTED

Code:
 ...
 000025 fr = " "
 000026 to = "x"
 000027 col = 72
 000028 Address ISREDIT "CHANGE '"fr"' '"to"' "col" all"
 ...


works for me

and this
Code:

fr = " "
to = "x"
c1 = 72
c2 = ""
Address ISREDIT "CHANGE '"fr"' '"to"' "c1 c2" all"


and this
Code:

fr = " "
to = "x"
c1 = 72
c2 = 73
Address ISREDIT "CHANGE '"fr"' '"to"' "c1 c2" all"
Back to top
View user's profile Send private message
oerdgie

New User


Joined: 22 Nov 2007
Posts: 55
Location: Germany

PostPosted: Wed Apr 08, 2015 10:44 pm    Post subject:
Reply with quote

Yes, it works for me too.

My macro is called by a REXX (Batch).
Parameters (incl. the column) for the macro are read from a file within the JCL. The last parameter in the file is the column.
I forgot to remove the line numbers on the right site of the file.
As a result I got the column and the line number passing from the Rexx to the macro.
This was the problem, my mistake. icon_redface.gif

Many thanks for help !
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 CICS startup problem John Poulakos CICS 3 Tue Jun 12, 2018 9:08 pm
No new posts Cannot change DATACLAS on DFSMSdss re... Alan Playford JCL & VSAM 11 Tue May 01, 2018 6:43 pm
No new posts Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm
No new posts Query to compare 2 values of 1 column... Poha Eater DB2 13 Fri Mar 09, 2018 10:45 am
No new posts How to change the logon screen info o... sakthikumarT TSO/ISPF 4 Fri Dec 29, 2017 6:44 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us