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
 

 

How to handle PL1 group variable

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
nehrujee

New User


Joined: 25 Oct 2007
Posts: 8
Location: Kolkata

PostPosted: Wed Feb 25, 2009 11:16 pm    Post subject: How to handle PL1 group variable
Reply with quote

Hi,

I am migrating Cobol programs to PL1. I have structure mentioned below
DCL 1 A,
2 B CHAR(40),
2 C CHAR(40),
2 TEST,
3 FILLER CHAR(01) INIT(' '),
3 TEMPVAR CHAR(40);

The TEST is used directly in COBOL has given below but in PL1, group variable cant be used directly.it throws error.

INSPECT TEST REPLACING
ALL "STRA " BY "STR "
ALL " UNTERER " BY " UNT ".

Can anyone help me regard this? How Can i handle group variables in PL1.

Regards
Nehru
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Feb 26, 2009 1:56 am    Post subject: Reply to: How to handle PL1 group variable
Reply with quote

Review the PL/I Builtin Function "TRANSLATE".

Click on the following link -

http://www.ibmmainframes.com/manuals.php

Regards,
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts Need Help with : IFTHEN(WHEN=GROUP) Sumanta_89 DFSORT/ICETOOL 1 Wed Apr 19, 2017 5:23 pm


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