How to change the key field in a vsam file?
You cannot change the key in a VSAM file. Key is defined while defining the file, so the starting position and length remain the same and there is no alter command to change the key.
Combining first two rec as one rec in third file.
I am having file1 and file2, and result should be as follows in file3 file1 file2 file3 1 11 111 2 12 212 3 13 313 4 14 414 5 15 ...
Here you need to go for a counter variable assume(ws-count) read FILE-1 count the length of that record and store it in ws-count move the values from FILE-1 to FILE-3(1:) (make use of referen...
How to view the value of comp variables?
How can I execute a particular job from no. Of jobs?
Yes.. we can exec a particular job using IKJEFT01 utility. A single job can have any number of jobs and 1 job can trigger another job..
//jobname job notify=&sysuid,restart=step3 //step1 exec pgm=sort, //step2 exec pgm=sort //step3 exec pgm=sort //setp4 exec pgm=sort,cond=(4,noteq,step3) or cond=(4,gt,step3) //step5 exec pg...
Based on which scenario , we can prefer static or dynamic call for our program?
Based on which scenario , we can prefer static or dynamic call for our program?
How to use /n , /m , /p infoman tickets ?
When navigating in mvs, how and when I need to use /m, /n, /m tickets?
What is fba? For what purpose it is used?
I keep seeing FBA defined as "Fixed Block Architecture" all over the internet. Lets think about this for a minute... Times up... F = Fixed = length of each record is identical (e.g., 133 characte...
To my knowledge FBA is Fixed Block Attribute. Whenever you use "After Advancing" in the cobol program for reports, the mode should be FBA. If it is wrong please let me know.
start command is used to dynamic read per pus use in vsam ksds files.
I'm sorry to answer a question with a question, but what are you referring to?Do you need to simply define a KSDS? Or do you need to open it in a specific language? If so, what languag...
In which file (sequential, indexed, relative) can all access mode be used (input,output.I-o,extend)?
ksds file means keys sequential data set. its takes access is 3 types.
1.sequential
2.random.
3.dynamic
its organization is indexed .
All file KSDS, ESDS,RRDS
How to prepare for mainframes to clear interview?
Tell me any real time error codes ,file status codes in cobol,jcl db2.It will be useful for me in interviews.
Very simple. You have to prepare all the modules like JCL, COBOL, VSAM and DB2. Most of the companies repeats same questions upto 60%. So prepare well for those 60%. One simple idea is.. Whenever yo...
How to test the given dataset is empty (or) not through jcl in mainframes?
what u said is exactly correct vamshi. we can check using outfile dummy and count(1) whether the file is empty or not.
Simply you can use the below sort card,SORT FIELDS=COPY OUTFIL FILES=1,NULLOFL=RC4 SORTIN - D...
Answered by: Nitin Dobhal
Answered On : Feb 14th, 2007Infoman is a tool, which is used for reporting purposes. Some organizanations use it as a tool to manage all the phases of SDLC, right from the customer's requirements.
is there a way to reduce email notification from infoman? For example, get notifiy without receiving a bunch of emails everyday?
It is the one of the ticketing tool
Large file merging with condition
I have 3 files . 2 files have millions of records.These 2 files have one ( empnumber) common record field. I want to put those records in 3rd file , such that which records having same number in key field (empnumber)in these two files ?
it will be done by the ICETOOL and the DFSORT...............
using cobol we can perform TAKE TWO INPUT FILES, AND ONE OUTPUT FILE, READ TWO FILES, APPLY 'IF' CONDITION ,IF IT MATCHES WRITE INTO OUTPUT FILE."cobol fd in-file1 01 rec1 02 s...
This is sahasra, I am trying for a job as a mainframe developer. I am attending the interview as a 3+ candidate. The real time questions like: 1)tell me about your project 2)tell what is the recent change request you have got? 3)what are the difficulties you faced? 4)what are the abend codes you got...
1)Tell me about your project Ans: Explain about your project (client location, business requirement, team size and roles and responsibilities). 2)Tell what is the recent change request you have got? ...
How is endeavour tool used in practical scenario?
Version control deals with changes made to a file. In mainframe terms, they could be the changes made to an application program, copybook, or JCL. Now these changes should be brought under control suc...
Go thru the following link:
http://www.geekinterview.com/question_details/30000
and there are tutorials and manuals available online
How you analyze and design requirements in mainframe?
Answered by: VInodReddy
Member Since Feb-2006 | Answered On : Mar 9th, 2006
SOC4 abend may be due to the following reasons.
1.Missing SELECT statement ( During Compile time)
2.Bad Subscript/Index
3.Read/Write attempt to unopened file
4.Move data to/from unopened file
5.Missing parameters in called subprogram
SOC7 abend may be due to the following reasond
1.Numeric Operation on Non-numeric data
2.Coding past the maximum allowed subscript.
3.Un-initialize working storage.
Please let me know if there more reasons for the above mentioned abends.
soc4-Protection exception, usually caused by an invalid index and subscript to an array
soc7-Caused due to bad data, in case of numeric data we are moving non-numeric,in case of numeric comparison we are finding space
SOC4 means subscript being out of range. This is because of compiler option.
Default is nossrange we have to change it for ssrange....
SOC7 means uninaialized numeric field. For SOC7 if we are doing numeric opretion which field is defined as non-numeric.
Explain the process of resolving soc4& soc7 errors?
The only simple solution i can think of is, try expediting the code and press F12. Its should abend and stop at the problem statement.This would give you the record details and values you need to iden...
If we put non numeric values insted of numeric value then we will get s0c7
Rate analysis of retrofitting
Retrofit is nothing but, adding the misiing code when (when version is in producton and the 2nd you are working in development region)2nd case arrises when two differeng region codes are to be merged ...