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

Help in using reference modifier


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Mon Dec 10, 2007 12:29 am
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
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
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: 355
Location: New York

PostPosted: Mon Dec 10, 2007 5:31 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Reference for COND parameter. JCL & VSAM 1
No new posts Reference documentation DFSDDLT0 IMS DB/DC 2
No new posts Trying to reference a javascript glob... CLIST & REXX 7
No new posts DITTO/ESA R3 User's Guide and Referen... IBM Tools 3
No new posts Mainframe datasets without any last r... All Other Mainframe Topics 1
Search our Forums:

Back to Top