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
 

 

Help in using reference modifier

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
mahesh bhavikatti

New User


Joined: 08 Dec 2007
Posts: 6
Location: bangalore

PostPosted: Sun Dec 09, 2007 8:04 pm    Post subject: Help in using reference modifier
Reply with quote

The variable i need to use with high level quailifer and move the first 40 charcters to ws-system

EX:-

MOVE MAL-ISR(1:40) OF RESPONCE-DATA TO WS-SYSTEM

Could somebody help me out.

Thanks,
Mahesh
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: Mon Dec 10, 2007 12:29 am    Post subject:
Reply with quote

Hello,

You have posted a MOVE with ref.mod.

I do not understand the question?

If you clarify your requirement, someone will be able offer suggestions.
Back to top
View user's profile Send private message
mahesh bhavikatti

New User


Joined: 08 Dec 2007
Posts: 6
Location: bangalore

PostPosted: Mon Dec 10, 2007 9:17 am    Post subject:
Reply with quote

MOVE MAL-ISR(1:40) OF RESPONCE-DATA TO WS-SYSTEM

I need to move the first 40 characters of MAL-ISR TO WS-SYSTEM.
I need to use the MAL-ISR with high qualifier(Since there are two variables with same name)

i.e MAL-ISR OF RESPONCE-DATA

When i compile it throughs an error saying " expected right paranthesis but found : "
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Dec 10, 2007 12:45 pm    Post subject:
Reply with quote

if you would bother to check the manual, you would find out that the reference modification syntax is on the qualifier.

why don't you try being professional and redefine MAL-ISR of RESPONCE-DATA?
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 356
Location: New York

PostPosted: Mon Dec 10, 2007 5:31 pm    Post subject:
Reply with quote

Try with the following.

MAL-ISR OF RESPONCE-DATA(1:40).

KSK
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Sort card to replace text using cross... Susanta SYNCSORT 32 Tue Sep 13, 2016 4:17 pm
This topic is locked: you cannot edit posts or make replies. MEMOAPIX - Searching for a Reference ... Steve Coalbran All Other Mainframe Topics 13 Wed Feb 03, 2016 12:01 pm
No new posts Making Reference Phrase field " ... Casper656 TSO/ISPF 11 Thu Feb 05, 2015 7:05 pm
No new posts Reference of a variable in COBOL-CICS raviputran CICS 9 Tue Sep 09, 2014 12:37 pm
No new posts Looking for CSP ESF Reference Manual ... Yuhta Tanaka CICS 0 Fri Apr 18, 2014 3:37 pm


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