For ped file, make as many rows as you have individuals, then for every individual assign family ID, individual ID, parental IDs, sex (0 for males, 1 for females, -9 for missing), and phenotype (2 for cases, 1 for controls), then for every SNP you will need to have two columns with alleles (e.g. A A, or A B, or B B).
So if you have 10 cases with AA, you will have 10 rows with phenotype = 2 and genotype = A A.
Making a map file is straightforward, just make a file like that
1 SNP 0 32546
first number is chromosome, then SNP id, then cM distance (keep it 0), then basepair position of your SNP on chromosome.
Thank you very much for you help I will try it. The problem is that I have only 3×3 table and no otjer data. I will put diferent IDs and 0 in columns I have no data. Is it true?