Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can we access Interactive job LDA in Batch Job?.
and How we can access a file in interactive QTEMP lib in
Batch job?.

Answers were Sorted based on User's Feedback



How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QT..

Answer / kamal

If we use SBMJOB, the contents of LDA of interactive job to
be copied to the LDA created when submitting a job using
SBMJOB.

Is This Answer Correct ?    17 Yes 2 No

How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QT..

Answer / george philip

When you Submit a Batch job through an Interacvive job. The
Content of the *LDA (of interavtive job) is copied into the
*LDA (of the Batch Job)

In Other words you can say "The system creates a local data
area, which is initially filled with blanks, with a length
of 1024 and type *CHAR. When you submit a job using the
SBMJOB command, the value of the submitting job's local
data area is copied into the submitted job's local data
area. "

Is This Answer Correct ?    9 Yes 1 No

How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QT..

Answer / sekhar

QINTER and QBATCH are two different subsystems in iseries
box. interactive job having its own QTEPM and *LDA and batch
having its own.if u signon to QINTER means i.e a job. AS400
creates QTEMP and *LDA for each job. so each SBMJOB having
its own QTEMP and *LDA and your QINTER session having its
own. so you cannot access both at a time.

Is This Answer Correct ?    7 Yes 7 No

How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QT..

Answer / madhuri

LDA and QTEMP library are specific to the jobs. Hence we
cannot access those two of interactive job in a batch job.
Only possible solution that I cna think of is copying the
data to another data area object or creating a file in
normal library before submitting the job and deleting it
after use.

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More RPG400 Interview Questions

where we give the MSGSFL in rpg400?

4 Answers  


what are the types of identifers

2 Answers   IBM,


i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program

6 Answers  


How do I read records from Subfile? what is the purpose of READC explain with example?

4 Answers   IBM,


How can we override a file during runtime in RPG? Without using OVRDBF or calling a CL program

1 Answers   UST,


how do I do concatenation in rpg iv, like I do in cl?

1 Answers   IBM,


The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?

6 Answers  


I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)

3 Answers   Opus,


I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this

3 Answers   ISG,


Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

2 Answers   iGate,


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  


what are the key words you must use when using a subfile?

0 Answers   IBM,


Categories