ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
 Categories >> Software >> MainFrame       
 
  IBM MainFrame (3190)   IBM AS400 (613)
 
Suggest New Category 
 


 

  Question  Asked @ Answers Views     select
 
I have created a command that display Source file and library. Now i want that when i enter library name and press f4 on Source file, pgm should display all the PF- SRC's in that Library. For F4 option i have used Choice program but since only limited paramters are passed in Choice pgm i am not able to paas library name and further can't call a pgm that will display list of Source files. Below is the Code snippet for CMD type object :- CMD PROMPT('Source Scan for HUB Standard') PARM KWD(SOURCE) TYPE(*CHAR) LEN(1) RSTD(*YES) + VALUES(N A) MIN(1) + CHOICE('N,A') PARM KWD(SRCFILE) TYPE(FILE) RSTD(*NO) + PROMPT('SOURCE FILE') FILE: QUAL TYPE(*NAME) LEN(10) RSTD(*NO) EXPR (*YES) + CHOICE(*PGM) + CHOICEPGM (XXXXXLIB/YYYPGM) QUAL TYPE(*NAME) LEN(10) DFT(*LIBL) + SPCVAL((*LIBL)) EXPR(*YES) PROMPT ('Library') Below is the Choice pgm:- PGM PARM(&PARM1 &PARM2) DCL VAR(&PARM1) TYPE(*CHAR) LEN (21) DCL VAR(&PARM2) TYPE(*CHAR) LEN (2000) IF COND(%SST(&PARM1 1 10) = 'CHOICE ' *AND + %SST(&PARM1 11 10) = 'SRCFILE ' *AND + (%SST(&PARM1 21 1) = 'C' *OR %SST (&PARM1 + 21 1) = 'P')) THEN (DO) /* (%SST(&PARM1 21 1) = 'C' *OR %SST (&PARM1 + */ CHGVAR VAR(&PARM2) VALUE('Name, F4 for List') ENDDO IF COND(%SST(&PARM1 1 10) = 'CHOICE ' *AND + %SST(&PARM1 11 10) = 'SRCFILE ' *AND + %SST(&PARM1 21 1) = 'P') THEN (DO) CHGVAR VAR(&PARM2) VALUE('Name, F4 for List') CALL PGM(GTSQL) PARM ('XXXXLIB') return ENDDO Thanks in Advance for looking into. HSBC  0  6
The natural file converted to PDF file if Yes then explain ?  0  14
There is subprogram and which is used in more then 200 modules. when we made changes to subprogram is it required to RESTOW all the main programs? If YES means how i can restow all 200 main programs at a time. HCL  1  29
Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please.. BlackRock  0  13
How can you add a particular field/coloumn in copybook? L&T  0  27
How can you add a particular field in copybook? L&T  0  17
How we can see the Data in IMS Database? HP  1  38
1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code? JDA  0  35
How converted the natural coding for adabas  0  20
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array. Infosys  0  36
In INITIALIZE what is Repalcing Word will do CTS  0  42
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"  3  160
Hi can anybody tell me about Mainframe batch testing and how is it done. I am totally new to mainframe testing. Thanks in Advance. IBM  1  181
If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.  1  260
Thru web page we have triggered the transaction, how can we come to know that whether it has hit the mianframes or not?  0  92
E-Mail New Answers        Answer Selected Questions       
 [1]    2  ... 18   ... 35   ... 52   ... 69   ... 86   ... 103   ... 120   ... 137   ... 154   ... 171   ... 188   ... 205   ... 222   ... 239    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors? 400 HCL
what about F1 & F2 keys in xpeditor? And their functionalities? 327  
Explain Introduction abt Ibm framework 402 IBM
Have you used comp and comp-3 in your project? And how? 165 IBM
what is search and searchall?what is the diffrence between them?give an best example? 854 BirlaSoft
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u 382 iNautix
Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os. 494  
How do we pass parameters into a CICS –DB2 program 312 Accenture
1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code? 35 JDA
How can you validate Sql errors during cursor operation in db2 pgms and where do you code? 270 IBM
If anyone has latest IBM Certification Dumps can you pls forwards it to me 747  
Tell me abt any another framework which is challening for Ibm framework 310 IBM
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright © 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com