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

Problem in declaring a dynamic array in pl/i thru REFER?


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

New User


Joined: 03 Jun 2008
Posts: 11
Location: Hyderabad

PostPosted: Tue Feb 03, 2009 10:54 am
Reply with quote

Hi All,

Can anyone help me out in declaring a dynamic array?..Iam using refer option to declare a layout in the following way.....
1 INSTRING UNALIGNED,
2 FIX_PART,
3 CERTNO CHAR(9),
3 COUNTZ FIXED DECIMAL(1,0),
2 VAR_PART (7 REFER (COUNTZ)) CHAR(10);
But iam unable to view the array occurences of var part in Fileaid.

regards,
Jonai.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Tue Feb 03, 2009 11:30 am
Reply with quote

No problem with this code
Check the value of COUNTZ
Back to top
View user's profile Send private message
Jonai

New User


Joined: 03 Jun 2008
Posts: 11
Location: Hyderabad

PostPosted: Tue Feb 03, 2009 12:46 pm
Reply with quote

Thanks for the reply PeD.It is working with Fixed binary value of COUNTZ.
But not allowing me to view in VFMT mode of fileaid....iam able to view in formatted mode .

Any guesses ....... why can't i view in VFMT mode?


Regards,
Jonai.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Tue Feb 03, 2009 1:03 pm
Reply with quote

maybe because

Quote:
File-AID - Browse - TENV.DATA.FIL.REFERA ------------------------------------------------------------------------ VFMT NOT ALLOWED
COMMAND ===> VFMT SCROLL ===> CSR
FS736-Only fixed records or variable records ending with array allowed
Back to top
View user's profile Send private message
Jonai

New User


Joined: 03 Jun 2008
Posts: 11
Location: Hyderabad

PostPosted: Tue Feb 03, 2009 1:30 pm
Reply with quote

Thanks PeD....


Regards,
Jonai.
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Using Dynamic file handler in the Fil... COBOL Programming 2
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts Synctool-dynamic split job for varyin... JCL & VSAM 7
No new posts z/vm installation problem All Other Mainframe Topics 0
Search our Forums:

Back to Top