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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: Problem in declaring a dynamic array in pl/i thru REFER?
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: 456
Location: Belgium

PostPosted: Tue Feb 03, 2009 11:30 am    Post subject:
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    Post subject: Reply to: Problem in declaring a dynamic array in pl/i thru
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: 456
Location: Belgium

PostPosted: Tue Feb 03, 2009 1:03 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm


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