DATAAREA DATASTRUCTURE
2 posters
Page 1 of 1
DATAAREA DATASTRUCTURE
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?
PGMA calls PGMB? Will this call successful? If not how to override this issue?
dataarea
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 : 38
Location : Chennai
Re: DATAAREA DATASTRUCTURE
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.
To avoid this issue before call to PGMB we need to unlock dataarea.
Similar topics
» Access dataarea which is not in the *LIBL
» PASSing DATASTRUCTURE as a PARAMETER in RPG IV
» RPG IV - V6R1 Enhancements: 2) Template Datastructure
» PASSing DATASTRUCTURE as a PARAMETER in RPG IV
» RPG IV - V6R1 Enhancements: 2) Template Datastructure
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|