gagandeep


{ City } noida
< Country > india
* Profession *
User No # 108605
Total Questions Posted # 0
Total Answers Posted # 7

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 4
Users Marked my Answers as Wrong # 0
Questions / { gagandeep }
Questions Answers Category Views Company eMail




Answers / { gagandeep }

Question { TCS, 7668 }

1.How you will find the program is batch or online in cl
pgm?
2.How you will end the batch pgm when the job runs? write
an logic?
3.In wich command the option *drop is used?


Answer

2) ENDJOB is used to end the batch Job in a program.

Is This Answer Correct ?    0 Yes 0 No

Question { Cap Gemini, 6639 }

1.I Have a physical file , i want to read the data from the
each and every member of the File in the CL Program.How do
you achieve this.
2.How do you do the same in RPG?. do think is it possible to
read data from all the members in the RPG?


Answer

Using DSPFD we get all the memebers in an outfile .Then use the command OVRDBF to override each member in outfile

Is This Answer Correct ?    0 Yes 0 No


Question { 3607 }

What are the types of Signature validation?


Answer

Please correct the question.There is nothing lie signature Validation.It should be signature violation.

Is This Answer Correct ?    1 Yes 0 No

Question { 3048 }

What is an Array Data Structure?


Answer

Data Structure defined as array is know as array data structure.Using DIM keyword data structure can be declared as an array.
D contact. DS. Dim(20) Qualified
D custno 7p 0
D. Name. 11A
D. City. 10A

Is This Answer Correct ?    0 Yes 0 No

Question { CTS, 3785 }

What is Multi Occurrence Data Structure(MODS)?


Answer

Multiple occuerence data structure is a data structure in which multiple oocurence of the data are defined .
It is similiar to a 2-D array.
For Eg: a 2-D array is defined as:
ara1 ds dim( 99 ) qualified
d ara2 10a dim( 99 )
d ara3 10i 0 dim( 99 )

If Multioccurence data structure is defined in same way then it would look like this:
DS1 ds Occurs( 99 )
d FLD2 10a dim( 99 )
d FLD3 10i 0 dim( 99 )

Is This Answer Correct ?    0 Yes 0 No

Question { ISE, 3582 }

I have to execute 12000 CL Commands one by one..
So, I have created a file called COMMAND.
This file has only 1 field called STRING.
This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc)
I have written a CL which will read all the record and do sbmjob..
But it is not working...
Plz help me to exexute all these 12000 commands..


Answer

In CL programming,it should not be a problem to execute any command.
We don't have to use QCMDEXC in CL.If there are for eg 100 RTV commands then firstly the variables to retrieve should be declared in the program .But if the command are only CALL commands then Using QCMDEXC will solve the purpose.

Is This Answer Correct ?    1 Yes 0 No

Question { Active Brains, 5308 }

what is EXCEPT command in rpg and use


Answer

The EXCEPT opcode is used to write the exception records.

Exceptional records are defined at O-spec with ā€˜Eā€™ as record type.

Whatever exceptional fields have been defined inside the exception records will be processed during the c-spec calculation
If there are multiple entries for the same record name then they will be processed one by one.
EXCEPT can be used for printing a report and to partially update a physical

Is This Answer Correct ?    2 Yes 0 No