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

moving the array variable to the output variable


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
deepak.kec

New User


Joined: 26 Feb 2007
Posts: 71
Location: bangalore

PostPosted: Wed Apr 18, 2007 11:43 am
Reply with quote

How the input variable which is defined in the array with occurance is moved to output?
In output copybook the variable are declared in the supplementary level.
So the main confusion is that which occurance is moved to output copybook?
Can we directly moved to output?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Apr 18, 2007 11:47 am
Reply with quote

Deepak,

If Im correct, you wanted to move array occurence to a variable which was declared as group. If this is your question -

Yes, you can do the operation.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Apr 18, 2007 1:18 pm
Reply with quote

deepak.kec wrote:
In output copybook the variable are declared in the supplementary level.
So the main confusion is that which occurance is moved to output copybook?
I'm a bit confused... Why don't you post your copybook, it might clear up things.
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Wed Apr 18, 2007 3:47 pm
Reply with quote

Probably you are moving the values in the occurances using subscript then you know which occurance is being moved to which elementary variable. What is your confusion. Can you provide the MOVE statement so that so that we can understand your question in correct light.
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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
No new posts XDC SDSF output to temp dataset CLIST & REXX 4
Search our Forums:

Back to Top