IBM MainFrame (5234)
IBM AS400 (1355)
IBM PL/1 (31) I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
2 6438Can a run time array be declare like below with no specified number of elements ? Is it possible ? DFLD_ARRAY 7 DIM() INZ(*blanks) What does this mean ? Does this mean that the number of array elements will be dynamically declared during run time ?
TCS,
1 6573As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks
CTS,
5 17488I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??
HCL,
2 9955How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
5544Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP
2379I was asked in HSBC interview following questions: 1. A string was given " techincal seminar on cobol language" Interviewer asked me to calculate the number of vowels in this string.
HSBC,
5 20041How do you unload data from DB2 tables into a PS file.write the code and how do you do it? what will be the syntax?
3 19003In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ot will it give error? If not , den what will be the output?
HSBC,
5 10914Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?
8 19662When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).
2 7103How to solve SOC7. I have the cobol coded as below 01 A PIC 9(4). 01 AIN REDEFINES A. 05 AIN1 PIC S9(4) 01 B PIC 9(4)V99. 01 BIN REDEFINES B. 05 BIN1 PIC S9(4)V99. PROCEDURE DIVISION. START-PARA. INITIALIZE A AIN B BIN. ACCEPT A B. DISPLAY 'VALUE OF A=' A. DISPLAY 'VALUE OF B=' B. DISPLAY 'VALUE OF BIN1=' BIN1. DISPLAY 'VALUE OF AIN1=' AIN1. COMPUTE AIN1 = BIN1 - AIN1. DISPLAY 'VALUE OF AIN1=' AIN1. When i'm executing this code i'm getting SOC7 for A = 12 & B=34. Can someone explain SDSF OUTPUT DISPLAY TCOM058R JOB05458 DSID 102 LINE 0 COLUMNS 02- 81 COMMAND INPUT ===> SCROLL ===> CSR ********************************* TOP OF DATA ********************************** VALUE OF A=12 VALUE OF B=34 VALUE OF BIN1=34 VALUE OF AIN1=12 CEE3207S The system detected a data exception (System Completion Code=0C7). From compile unit PROG1 at entry point PROG1 at statement 29 at compile +000004CE at address 00007ECE. Please address how to solve this issue Thanks in advance.
1 9217
what will happen when you try to open an empty vsam file in a cobol program for input?
In a particular cics program, what is the procedure to allocate dynamic memory?
What is the local-storage section?
What do the compilers provide?
State the difference between jes2 and jes3?
What is the purpose of the chain and setll and setgt?
Can you define temporary storage?
Explain the function done by data manager?
What is the use of jdftval in as400?
What is db2 catalog database?
Explain the significance of dbid used in adabs?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
how to define a directory and what is the structure and definition for the same?
What is house keeping in assembler?
What is condition checking in jcl? Is this possible?