Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
CICS aid keys to get a field protected

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests
View previous topic :: :: View next topic  
Author Message
Amit_Singh47

New User


Joined: 15 May 2013
Posts: 22
Location: India

PostPosted: Wed May 15, 2013 1:30 pm    Post subject: CICS aid keys to get a field protected
Reply with quote

Hi All,

In a CICS map, i am trying to get a field protected. The code is the following:

PERFORM ATTR-CNT TIMES
MOVE WHITE-PROT-BRI-MDT TO
ACTIONA ( COM-TOTAL-RECORDS + 1 )
END-PERFORM

Here, ATTR-CNT and COM-TOTAL-RECORDS are simple variables.

However, this is not working as the attribute is not getting protected.

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

Stefan

Active User


Joined: 12 Jan 2006
Posts: 110
Location: Germany

PostPosted: Wed May 15, 2013 2:28 pm    Post subject:
Reply with quote

Your PERFORM loop moves the attribute byte in every iteration to the same occurrence of ACTIONA. Instead you should set the indexing variable to a meaningful starting value and increase it per iteration by 1.
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 -> HomeWorks & Requests All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts cics-dbctl connection and disconnection meykh2014 CICS 3 Sat Aug 18, 2018 5:38 pm
No new posts Send data from a CICS TS program to M... spiThingy CICS 2 Wed Aug 08, 2018 8:58 am
No new posts Formating of Amount field in CLIST be... Anil Kumar Prajapati CLIST & REXX 9 Fri Aug 03, 2018 6:34 pm
No new posts SMF IFAMGET macro GTPB_RETURNEDLENGT... ironheinrich7 IBM Tools 0 Thu Aug 02, 2018 6:53 pm
This topic is locked: you cannot edit posts or make replies. I need to remove low values in my field shymala COBOL Programming 8 Sun Jul 29, 2018 11:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us