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

How to initialise group variable


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Prabha
Warnings : 2

New User


Joined: 05 Dec 2005
Posts: 79

PostPosted: Thu Jul 24, 2008 4:05 pm
Reply with quote

Hi,

1 GROUP1,
3 AA FIXED(10),
3 AB FIXED(10),
3 AC FIXED(10),
3 AD FIXED(10),

How to initiliase all the fields to zero. Instead of initilaing indiviidually, is it possible to initialise group variable directly.
Since my copybook contains lot of variables and all are having data type as Fixed Dec.

When I tried using, GROUP1 =" "; After inserting into Database, it was not initialised to zeroes.

Please help.
Back to top
View user's profile Send private message
ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Thu Jul 24, 2008 4:16 pm
Reply with quote

Use GROUP1='';

--> Notice there should not be any spaces between the quotes ...
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
No new posts Compare latest 2 rows of a table usin... DB2 1
Search our Forums:

Back to Top