PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

DATAAREA DATASTRUCTURE

View previous topic View next topic Go down

DATAAREA DATASTRUCTURE

Post  maran on Fri Aug 07, 2009 10:18 pm

The same Dataarea has been declared as a Dataarea DS in 2 RPG programs say PGMA & PGMB.

PGMA calls PGMB? Will this call successful? If not how to override this issue?
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

dataarea

Post  arunajay on Thu Aug 27, 2009 1:24 am

Dataarea will be created for the paricular job and we cannot use that dataarea for the another job and if we declared a dataarea in a program means dataarea will be in locked for that pgm, so we cannot use that for the other programs

arunajay

Posts : 5
Join date : 2009-07-29
Age : 32
Location : Chennai

View user profile

Back to top Go down

Re: DATAAREA DATASTRUCTURE

Post  maran on Tue Sep 08, 2009 5:59 pm

You are correct that if we declare a dataarea using data structure, there is locked placed on the dataarea till the end of the program ( SETON LR). SO this data area can not be used in other program as a data area data structure.

To avoid this issue before call to PGMB we need to unlock dataarea.
avatar
maran
Admin

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

Re: DATAAREA DATASTRUCTURE

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum